From 9c807132e72af212f8d598de570488995efee78e Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Thu, 25 Jul 2024 16:09:48 +0200 Subject: [PATCH] Add comment --- synapse/handlers/worker_lock.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/handlers/worker_lock.py b/synapse/handlers/worker_lock.py index d743413e86..c87d02519b 100644 --- a/synapse/handlers/worker_lock.py +++ b/synapse/handlers/worker_lock.py @@ -247,6 +247,8 @@ class WaitingLock: timeout=self._get_next_retry_interval(), reactor=self.reactor, ) + # Let's reset retry interval since we got notified, we + # should only increase it if we hit the previous one self._retry_interval = 0.1 except Exception: pass