diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-12-16 12:26:28 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-12-16 14:07:11 +0000 |
commit | ff773ff7243fbbe88fabff952d6faded0241c64e (patch) | |
tree | d01e85d670ae4b2672bd3259949799019f1cc47b /synapse/util/async_helpers.py | |
parent | sanity-checking for events used in state res (#6531) (diff) | |
download | synapse-ff773ff7243fbbe88fabff952d6faded0241c64e.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 '')
-rw-r--r-- | synapse/util/async_helpers.py | 4 |
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: |