- Apr 20, 2018
-
-
Erik Johnston authored
-
Richard van der Hoff authored
Refactor ResponseCache usage
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Refactor store.have_events
-
Richard van der Hoff authored
It turns out that most of the time we were calling have_events, we were only using half of the result. Replace have_events with have_seen_events and get_rejection_reasons, so that we can see what's going on a bit more clearly.
-
- Apr 18, 2018
-
-
Richard van der Hoff authored
Avoid creating events with huge numbers of prev_events
-
- Apr 16, 2018
-
-
Richard van der Hoff authored
In most cases, we limit the number of prev_events for a given event to 10 events. This fixes a particular code path which created events with huge numbers of prev_events.
-
- Apr 15, 2018
-
-
Matthew Hodgson authored
-
- Apr 13, 2018
-
-
Matthew Hodgson authored
fix federation_domain_whitelist
-
Matthew Hodgson authored
we were checking the wrong server_name on inbound requests
-
Matthew Hodgson authored
-
Matthew Hodgson authored
-
Neil Johnson authored
Update canonicaljson dependency
-
Richard van der Hoff authored
This reverts commit 9fbe70a7. It turns out that sortedcontainers.SortedDict is not an exact match for blist.sorteddict; in particular, `popitem()` removes things from the opposite end of the dict. This is trivial to fix, but I want to add some unit tests, and potentially some more thought about it, before we do so.
-
Richard van der Hoff authored
1.1.2 was a bit broken too :/
-
Richard van der Hoff authored
Turns out that ObservableDeferred.observe doesn't return a deferred if the result is already completed. Fix handling and improve documentation.
- Apr 12, 2018
-
-
Richard van der Hoff authored
1.1.0 and 1.1.1 were broken, so we're updating this to help people make sure they don't end up on a broken version. Also, 1.1.0 is speedier...
-
Richard van der Hoff authored
Adds a `.wrap` method to ResponseCache which wraps up the boilerplate of a (get, set) pair, and then use it throughout the codebase. This will be largely non-functional, but does include the following functional changes: * federation_server.on_context_state_request: drops use of _server_linearizer which looked redundant and could cause incorrect cache misses by yielding between the get and the set. * RoomListHandler.get_remote_public_room_list(): fixes logcontext leaks * the wrap function includes some logging. I'm hoping this won't be too noisy on production.
-
Richard van der Hoff authored
Add metrics for ResponseCache
-
Erik Johnston authored
Add metrics for event processing lag
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
Document the behaviour of ResponseCache
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Send events to ASes concurrently
-
- Apr 11, 2018
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
Synapse on PyPy
-
Neil Johnson authored
-
Neil Johnson authored
Merge commit '11d2609d' of https://github.com/matrix-org/synapse into release-v0.27.0
-
Erik Johnston authored
-