From 30b53812de5c232d1028dc66794fb730cf3d0a55 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 17 Jun 2015 15:29:31 +0100 Subject: [PATCH] Store timeout --- synapse/notifier.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/notifier.py b/synapse/notifier.py index 46b1840a6d..a253f149a2 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -50,6 +50,7 @@ class _NotificationListener(object): def __init__(self, deferred, timeout): self.deferred = deferred self.created = int(time.time() * 1000) + self.timeout = timeout def notified(self): return self.deferred.called