diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-14 13:47:16 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-14 13:47:16 +0100 |
commit | ab78a8926e508a56ea8a4719f80e6402493ff9e3 (patch) | |
tree | bc170cb550e877e685466799f194d36eda8444aa /synapse | |
parent | Move fetching of events into their own transactions (diff) | |
download | synapse-ab78a8926e508a56ea8a4719f80e6402493ff9e3.tar.xz |
Err, we probably want a bigger limit
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index a6c6676f8d..5c33bd81a8 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -952,7 +952,7 @@ class SQLBaseStore(object): defer.returnValue({}) rows = [] - N = 2 + N = 200 for i in range(1 + len(events) / N): evs = events[i*N:(i + 1)*N] if not evs: |