summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-14 13:47:16 +0100
committerErik Johnston <erik@matrix.org>2015-05-14 13:47:16 +0100
commitab78a8926e508a56ea8a4719f80e6402493ff9e3 (patch)
treebc170cb550e877e685466799f194d36eda8444aa /synapse
parentMove fetching of events into their own transactions (diff)
downloadsynapse-ab78a8926e508a56ea8a4719f80e6402493ff9e3.tar.xz
Err, we probably want a bigger limit
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/_base.py2
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: