forked-synapse/synapse
Erik Johnston 695240d34a
Fix DB query on startup for negative streams. (#8447)
For negative streams we have to negate the internal stream ID before
querying the DB.

The effect of this bug was to query far too many rows, slowing start up
time, but we would correctly filter the results afterwards so there was
no ill effect.
2020-10-02 12:22:19 +01:00
..
_scripts Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
api Don't push if an user account has expired (#8353) 2020-09-23 16:06:28 +01:00
app Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
appservice Add type annotations to SimpleHttpClient (#8372) 2020-09-24 15:47:20 +01:00
config Convert additional templates to Jinja (#8444) 2020-10-02 11:15:53 +01:00
crypto Fix occasional "Re-starting finished log context" from keyring (#8398) 2020-09-25 12:29:54 +01:00
events Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
federation Fix malformed log line in new federation "catch up" logic (#8442) 2020-10-02 11:05:29 +01:00
groups Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
handlers Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
http Fix handling of connection timeouts in outgoing http requests (#8400) 2020-09-29 10:29:21 +01:00
logging Create a mechanism for marking tests "logcontext clean" (#8399) 2020-09-28 17:58:33 +01:00
metrics Rewrite BucketCollector 2020-09-30 16:49:15 +01:00
module_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push Don't push if an user account has expired (#8353) 2020-09-23 16:06:28 +01:00
replication Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
res/templates Convert additional templates to Jinja (#8444) 2020-10-02 11:15:53 +01:00
rest Convert additional templates to Jinja (#8444) 2020-10-02 11:15:53 +01:00
server_notices Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
spam_checker_api Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
state Report state res metrics to Prometheus and log 2020-09-29 17:35:20 +01:00
static Clean-up the fallback login code. (#7657) 2020-06-10 09:50:39 -04:00
storage Fix DB query on startup for negative streams. (#8447) 2020-10-02 12:22:19 +01:00
streams Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
util Expose a get_resource_usage method in Measure 2020-09-29 17:35:20 +01:00
__init__.py fix version number 2020-10-01 13:17:59 +01:00
event_auth.py Convert events worker database to async/await. (#8071) 2020-08-18 16:20:49 -04:00
notifier.py Various clean ups to room stream tokens. (#8423) 2020-09-29 21:48:33 +01:00
python_dependencies.py Drop support for ancient prometheus_client (#8426) 2020-09-30 16:42:05 +01:00
secrets.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
server.py Fix ratelimiting for federation /send requests. (#8342) 2020-09-18 10:49:29 +01:00
types.py Make token serializing/deserializing async (#8427) 2020-09-30 20:29:19 +01:00
visibility.py Convert groups and visibility code to async / await. (#7951) 2020-07-27 12:32:08 -04:00