summary refs log tree commit diff
path: root/synapse/handlers/events.py
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-02 17:18:50 +0000
committerreview.rocks <nobody@review.rocks>2016-02-02 17:18:50 +0000
commitd83d004ccdb7ace1dcb51b8acf7645bc176b10a5 (patch)
tree009a6132dd0c507fb68a449efc247519d2a8aab7 /synapse/handlers/events.py
parentMerge pull request #549 from matrix-org/erikj/sync (diff)
downloadsynapse-d83d004ccdb7ace1dcb51b8acf7645bc176b10a5.tar.xz
Fix flake8 warnings for new flake8
Diffstat (limited to 'synapse/handlers/events.py')
-rw-r--r--synapse/handlers/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/events.py b/synapse/handlers/events.py
index 254b483da6..5ad8f3779a 100644
--- a/synapse/handlers/events.py
+++ b/synapse/handlers/events.py
@@ -130,7 +130,7 @@ class EventStreamHandler(BaseHandler):
 
                 # Add some randomness to this value to try and mitigate against
                 # thundering herds on restart.
-                timeout = random.randint(int(timeout*0.9), int(timeout*1.1))
+                timeout = random.randint(int(timeout * 0.9), int(timeout * 1.1))
 
             events, tokens = yield self.notifier.get_events_for(
                 auth_user, pagin_config, timeout,