Commit Graph

508 Commits (14f13babb00d64009b11ef822ebe6fafe044eebd)

Author SHA1 Message Date
Richard van der Hoff 3d6df84658 Test and fix support for cancellation in Linearizer 6 years ago
Richard van der Hoff 7c712f95bb Combine Limiter and Linearizer 6 years ago
Richard van der Hoff 8462c26485 Improvements to the Limiter 6 years ago
Richard van der Hoff d7275eecf3 Add a sleep to the Limiter to fix stack overflows. 6 years ago
Amber Brown 95ccb6e2ec
Don't spew errors because we can't save metrics (#3563) 6 years ago
Richard van der Hoff 8c69b735e3 Make Distributor run its processes as a background process 6 years ago
Richard van der Hoff 667fba68f3 Run things as background processes 6 years ago
Erik Johnston b2aa05a8d6 Use efficient .intersection 6 years ago
Erik Johnston 547b1355d3 Fix perf regression in PR #3530 6 years ago
Richard van der Hoff 33b40d0a25 Make FederationRateLimiter queue requests properly 6 years ago
Erik Johnston 77b692e65d Don't return unknown entities in get_entities_changed 6 years ago
Richard van der Hoff fa5c2bc082 Reduce set building in get_entities_changed 6 years ago
Richard van der Hoff c3c29aa196
Attempt to include db threads in cpu usage stats (#3496) 6 years ago
Richard van der Hoff 55370331da
Refactor logcontext resource usage tracking (#3501) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Amber Brown 72d2143ea8
Revert "Revert "Try to not use as much CPU in the StreamChangeCache"" (#3454) 7 years ago
Matthew Hodgson 8057489b26
Revert "Try to not use as much CPU in the StreamChangeCache" 7 years ago
Amber Brown 1202508067 fixes 7 years ago
Amber Brown bd3d329c88 fixes 7 years ago
Amber Brown abfe4b2957 try and make loading items from the cache faster 7 years ago
Amber Brown 07cad26d65
Remove all global reactor imports & pass it around explicitly (#3424) 7 years ago
Richard van der Hoff 43e02c409d Disable partial state group caching for wildcard lookups 7 years ago
Richard van der Hoff 0495fe0035 Indirect evt_count updates via method call 7 years ago
Amber Brown 77ac14b960
Pass around the reactor explicitly (#3385) 7 years ago
Richard van der Hoff b088aafcae Log number of events fetched from DB 7 years ago
Amber Brown a61738b316
Remove run_on_reactor (#3395) 7 years ago
Amber Brown f7869f8f8b
Port to sortedcontainers (with tests!) (#3332) 7 years ago
Erik Johnston 042eedfa2b Add hacky cache factor override system 7 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Adrian Tschira 7873cde526 pep8 7 years ago
Amber Brown 57ad76fa4a fix up tests 7 years ago
Amber Brown 3ef5cd74a6 update to more consistently use seconds in any metrics or logging 7 years ago
Amber Brown 357c74a50f add comment about why unreg 7 years ago
Adrian Tschira 4ee4450d66 fix recursion error 7 years ago
Adrian Tschira dd068ca979 remaining isintance fixes 7 years ago
Amber Brown 53cc2cde1f cleanup 7 years ago
Amber Brown 071206304d cleanup pep8 errors 7 years ago
Amber Brown 85ba83eb51 fixes 7 years ago
Erik Johnston 7948ecf234 Comment 7 years ago
Erik Johnston 020377a550 Fix logcontext resource usage tracking 7 years ago
Amber Brown df9f72d9e5 replacing portions 7 years ago
Adrian Tschira 45b55e23d3 Add batch_iter to utils 7 years ago
Adrian Tschira 73cbdef5f7 fix py3 intern and remove unnecessary py3 encode 7 years ago
Richard van der Hoff a7fe62f0cb Fix logcontext leaks in rate limiter 7 years ago
Richard van der Hoff f22e7cda2c Fix a class of logcontext leaks 7 years ago
Richard van der Hoff e482f8cd85 Fix incorrect reference to StringIO 7 years ago
Adrian Tschira e9143b6593 more bytes strings 7 years ago
Adrian Tschira d82b6ea9e6 Move more xrange to six 7 years ago
Adrian Tschira 4f2f5171b7 replace stringIO imports 7 years ago