- May 03, 2017
-
-
Erik Johnston authored
-
- Apr 28, 2017
-
-
Erik Johnston authored
Speed up filtering of a single event in push
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- Apr 27, 2017
-
-
Erik Johnston authored
Fix invite state to always include all events
-
Erik Johnston authored
-
Erik Johnston authored
print something legible if synapse already running
-
Erik Johnston authored
web_client_location documentation fix
-
Richard van der Hoff authored
When creating a new table index in the background, guard against it existing already. Fixes https://github.com/matrix-org/synapse/issues/2135. Also, make sure we restore the autocommit flag when we're done, otherwise we get more failures from other operations later on. Fixes https://github.com/matrix-org/synapse/issues/1890 (hopefully).
-
Erik Johnston authored
Add some extra logging for edge cases of federation
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Check that requested room_id exists
-
- Apr 26, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Make state caches cache in ascii
-
- Apr 25, 2017
-
-
Matthew Hodgson authored
* document how to make IPv6 work * spell out that pip will install 17.1 by default
-
Erik Johnston authored
-
Erik Johnston authored
Reduce size of joined_user cache
-
Erik Johnston authored
setting up metrics, just adding/clarifying 2 very minor items
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
The _get_joined_users_from_context cache stores a mapping from user_id to avatar_url and display_name. Instead of storing those in a dict, store them in a namedtuple as that uses much less memory. We also try converting the string to ascii to further reduce the size.
-
Erik Johnston authored
-
Erik Johnston authored
Reduce cache size by not storing deferreds
-
Erik Johnston authored
-
Mark Haines authored
Fix code for reporting old verify keys in synapse
-
Erik Johnston authored
Currently the cache descriptors store deferreds rather than raw values, this is a simple way of triggering only one database hit and sharing the result if two callers attempt to get the same value. However, there are a few caches that simply store a mapping from string to string (or int). These caches can have a large number of entries, under the assumption that each entry is small. However, the size of a deferred (specifically the size of ObservableDeferred) is signigicantly larger than that of the raw value, 2kb vs 32b. This PR therefore changes the cache descriptors to store the raw values rather than the deferreds. As a side effect cached storage function now either return a deferred or the actual value, as the cached list decriptor already does. This is fine as we always end up just yield'ing on the returned value eventually, which handles that case correctly.
-
- Apr 24, 2017
-
-
Mark Haines authored
-
Richard van der Hoff authored
Fix rejection of invites to unreachable servers
-
Erik Johnston authored
Only intern ascii strings
-
Erik Johnston authored
Remove unused cache
-
Erik Johnston authored
-
Erik Johnston authored
-
- Apr 21, 2017
-
-
Sean Enck authored
-
Richard van der Hoff authored
I haven't (yet) documented all of the user-list APIs introduced in https://github.com/matrix-org/synapse/pull/1784 because the API shape seems very odd, given the functionality.
-
Richard van der Hoff authored
When we're rejecting invites, ignore the backoff data, so that we have a better chance of not getting the room out of sync.
-
Richard van der Hoff authored
The `except SynapseError` clauses were pointless because the wrapped functions would never throw a `SynapseError` (they either throw a `CodeMessageException` or a `RuntimeError`). The `except CodeMessageException` is now also pointless because the caller treats all exceptions equally, so we may as well just throw the `CodeMessageException`.
-