diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-14 13:41:24 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-14 13:41:24 +0000 |
commit | ce3c8df6dff456cdc548f1bc40a47f4b2a09a0a6 (patch) | |
tree | a113ccc2af92ed323b385edf816c7bc266a94925 /synapse/storage | |
parent | Aggregate event push actions (diff) | |
download | synapse-ce3c8df6dff456cdc548f1bc40a47f4b2a09a0a6.tar.xz |
Less aggressive timers
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/event_push_actions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py index 300571b78b..1b7888a914 100644 --- a/synapse/storage/event_push_actions.py +++ b/synapse/storage/event_push_actions.py @@ -48,7 +48,7 @@ class EventPushActionsStore(SQLBaseStore): ) self._doing_notif_rotation = False - self._clock.looping_call(self._rotate_notifs, 60 * 1000) + self._clock.looping_call(self._rotate_notifs, 30 * 60 * 1000) def _set_push_actions_for_event_and_users_txn(self, txn, event, tuples): """ @@ -594,7 +594,7 @@ class EventPushActionsStore(SQLBaseStore): ) if caught_up: break - yield sleep(1) + yield sleep(5) finally: self._doing_notif_rotation = False |