From 36e144091b3be995754f7100a9c5322b224f2692 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 18 Feb 2015 11:25:20 +0000 Subject: [PATCH] Remove spurious comma. Remove temp run_on_reactor --- synapse/util/retryutils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/synapse/util/retryutils.py b/synapse/util/retryutils.py index ee1194f1de..ab58eb528b 100644 --- a/synapse/util/retryutils.py +++ b/synapse/util/retryutils.py @@ -54,7 +54,6 @@ def get_retry_limiter(destination, clock, store, **kwargs): # We aren't ready to retry that destination. raise """ - yield run_on_reactor() retry_last_ts, retry_interval = (0, 0) retry_timings = yield store.get_destination_retry_timings( @@ -149,7 +148,7 @@ class RetryDestinationLimiter(object): else: self.retry_interval = self.min_retry_interval - retry_last_ts = int(self.clock.time_msec()), + retry_last_ts = int(self.clock.time_msec()) self.store.set_destination_retry_timings( self.destination, retry_last_ts, self.retry_interval