summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-12-16 12:26:28 +0000
committerGitHub <noreply@github.com>2019-12-16 12:26:28 +0000
commitbc7de87650c2646cdc388f06a2a5bb6f94fc5c5c (patch)
treebb76c828ea71692bc5d5a52444119bf39a6f08c7 /synapse/util
parentAutomatically delete empty groups/communities (#6453) (diff)
downloadsynapse-bc7de87650c2646cdc388f06a2a5bb6f94fc5c5c.tar.xz
Persist auth/state events at backwards extremities when we fetch them (#6526)
The main point here is to make sure that the state returned by _get_state_in_room has been authed before we try to use it as state in the room.
Diffstat (limited to 'synapse/util')
-rw-r--r--synapse/util/async_helpers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/util/async_helpers.py b/synapse/util/async_helpers.py
index 5c4de2e69f..04b6abdc24 100644
--- a/synapse/util/async_helpers.py
+++ b/synapse/util/async_helpers.py
@@ -140,8 +140,8 @@ def concurrently_execute(func, args, limit):
 
     Args:
         func (func): Function to execute, should return a deferred or coroutine.
-        args (list): List of arguments to pass to func, each invocation of func
-            gets a signle argument.
+        args (Iterable): List of arguments to pass to func, each invocation of func
+            gets a single argument.
         limit (int): Maximum number of conccurent executions.
 
     Returns: