diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2016-02-02 17:18:50 +0000 |
---|---|---|
committer | review.rocks <nobody@review.rocks> | 2016-02-02 17:18:50 +0000 |
commit | d83d004ccdb7ace1dcb51b8acf7645bc176b10a5 (patch) | |
tree | 009a6132dd0c507fb68a449efc247519d2a8aab7 /synapse/handlers/events.py | |
parent | Merge pull request #549 from matrix-org/erikj/sync (diff) | |
download | synapse-d83d004ccdb7ace1dcb51b8acf7645bc176b10a5.tar.xz |
Fix flake8 warnings for new flake8
Diffstat (limited to 'synapse/handlers/events.py')
-rw-r--r-- | synapse/handlers/events.py | 2 |
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, |