summary refs log tree commit diff
path: root/synapse/storage/deviceinbox.py
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2019-05-09 12:01:41 +0200
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-05-09 11:01:41 +0100
commit11ea16777f52264f0a1d6f4db5b7db5c6c147523 (patch)
treeac6bec0751b5bcacd09b16265c6fd3e80628d4f2 /synapse/storage/deviceinbox.py
parentFix bogus imports in tests (#5154) (diff)
downloadsynapse-11ea16777f52264f0a1d6f4db5b7db5c6c147523.tar.xz
Limit the number of EDUs in transactions to 100 as expected by receiver (#5138)
Fixes #3951.
Diffstat (limited to 'synapse/storage/deviceinbox.py')
-rw-r--r--synapse/storage/deviceinbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/deviceinbox.py b/synapse/storage/deviceinbox.py
index fed4ea3610..9b0a99cb49 100644
--- a/synapse/storage/deviceinbox.py
+++ b/synapse/storage/deviceinbox.py
@@ -118,7 +118,7 @@ class DeviceInboxWorkerStore(SQLBaseStore):
         defer.returnValue(count)
 
     def get_new_device_msgs_for_remote(
-        self, destination, last_stream_id, current_stream_id, limit=100
+        self, destination, last_stream_id, current_stream_id, limit
     ):
         """
         Args: