- Jan 17, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Instead of calculating the size of the cache repeatedly, which can take a long time now that it can use a callback, instead cache the size and update that on insertion and deletion. This requires changing the cache descriptors to have two caches, one for pending deferreds and the other for the actual values. There's no reason to evict from the pending deferreds as they won't take up any more memory.
-
- Jan 16, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jan 13, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
Split out static auth methods from Auth object
-
Erik Johnston authored
-
Erik Johnston authored
Change device_inbox stream index to include user
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Restore default bind address
-
Richard van der Hoff authored
Fix formatting blooper introduced in https://github.com/matrix-org/synapse/pull/1672 :/
-
Erik Johnston authored
Fix spurious Unhandled Error log lines
-
- Jan 12, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
Remove full_twisted_stacktraces option
-
Erik Johnston authored
The debug 'full_twisted_stacktraces' flag caused synapse to rewrite twisted deferreds to always fire the callback on the next reactor tick. This was to force the deferred to always store the stacktraces on exceptions, and thus be more likely to have a full stacktrace when it reaches the final error handlers and gets printed to the logs. Dynamically rewriting things is generally bad, and in particular this change violates assumptions of various bits of Twisted. This wouldn't necessarily be so bad, but it turns out this option has been turned on on some production servers. Turning the option can cause e.g. #1778. For now, lets just entirely nuke this option.
-
- Jan 11, 2017
-
-
Erik Johnston authored
-
- Jan 10, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Matthew Hodgson authored
-
Erik Johnston authored
-
Erik Johnston authored
Limit number of entries to prefill from cache
-
Erik Johnston authored
Add paranoia exception catch in Linearizer
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
This makes fetching the nost recently changed users much tricker, and brings it in line with e.g. presence_stream indices.
-
Erik Johnston authored
Some tables, like device_inbox, take a long time to query at startup for the stream change cache prefills. This is likely because they are slower growing streams and so are more fragmented on disk. For now, lets pull fewer entries out to make startup quicker. In future, we should add a better index to make it even faster.
-
Mark Haines authored
Log which files we saved attachments to in the media_repository
-
Mark Haines authored
-
Erik Johnston authored
Don't block messages sending on bumping presence
-
Erik Johnston authored
-
Erik Johnston authored
Linearize updates to membership via PUT /state/
-
Erik Johnston authored
Name linearizer's for better logs
-