diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2020-05-07 17:31:19 +0200 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2020-05-07 17:31:19 +0200 |
commit | 5bb26b7c4fa22ce3927fb365b5af06efec8cc4c7 (patch) | |
tree | 5abb3820f5e29c8eef26b78283afdf562198093c /synapse/groups/attestations.py | |
parent | Fixes typo (bellow -> below) (#7449) (diff) | |
parent | Add a configuration setting for the dummy event threshold (#7422) (diff) | |
download | synapse-5bb26b7c4fa22ce3927fb365b5af06efec8cc4c7.tar.xz |
Merge branch 'release-v1.13.0' into develop
Diffstat (limited to 'synapse/groups/attestations.py')
-rw-r--r-- | synapse/groups/attestations.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/groups/attestations.py b/synapse/groups/attestations.py index 1eec3874b6..27b0c02655 100644 --- a/synapse/groups/attestations.py +++ b/synapse/groups/attestations.py @@ -46,7 +46,6 @@ from twisted.internet import defer from synapse.api.errors import HttpResponseException, RequestSendFailed, SynapseError from synapse.metrics.background_process_metrics import run_as_background_process from synapse.types import get_domain_from_id -from synapse.util.async_helpers import yieldable_gather_results logger = logging.getLogger(__name__) @@ -208,6 +207,5 @@ class GroupAttestionRenewer(object): "Error renewing attestation of %r in %r", user_id, group_id ) - await yieldable_gather_results( - _renew_attestation, ((row["group_id"], row["user_id"]) for row in rows) - ) + for row in rows: + await _renew_attestation((row["group_id"], row["user_id"])) |