summary refs log tree commit diff
path: root/synapse/storage/pusher.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-14 11:36:23 +0100
committerErik Johnston <erik@matrix.org>2016-04-14 11:36:23 +0100
commitd213d69fe301a1166516c2f56c50d7a379deaf6e (patch)
tree5a1d242d6dfdb1559029fa7543bb9da34375fcac /synapse/storage/pusher.py
parentAdd necessary logging contexts (diff)
downloadsynapse-d213d69fe301a1166516c2f56c50d7a379deaf6e.tar.xz
Add desc arg
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r--synapse/storage/pusher.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py
index e64c0dce0a..e5755c0aea 100644
--- a/synapse/storage/pusher.py
+++ b/synapse/storage/pusher.py
@@ -137,7 +137,11 @@ class PusherStore(SQLBaseStore):
         users = yield self.get_users_in_room(room_id)
 
         result = yield self._simple_select_many_batch(
-            'pushers', 'user_name', users, ['user_name']
+            table='pushers',
+            column='user_name',
+            iterable=users,
+            retcols=['user_name'],
+            desc='get_users_with_pushers_in_room'
         )
 
         defer.returnValue([r['user_name'] for r in result])