diff options
author | David Baker <dave@matrix.org> | 2016-05-04 11:47:59 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-05-04 11:47:59 +0100 |
commit | 8cc82aad873d8c6c933a20d8c7552d061b4e6316 (patch) | |
tree | 746eb61ee9b8eea39cc28150e54ad3499f2ae410 /synapse/app/pusher.py | |
parent | pep8 (diff) | |
download | synapse-8cc82aad873d8c6c933a20d8c7552d061b4e6316.tar.xz |
Add db functions used for email to the pusher app
Diffstat (limited to '')
-rw-r--r-- | synapse/app/pusher.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py index b5339f030d..9976908983 100644 --- a/synapse/app/pusher.py +++ b/synapse/app/pusher.py @@ -110,6 +110,18 @@ class PusherSlaveStore( DataStore.update_pusher_last_stream_ordering.__func__ ) + get_throttle_params_by_room = ( + DataStore.get_throttle_params_by_room.__func__ + ) + + set_throttle_params = ( + DataStore.set_throttle_params.__func__ + ) + + get_time_of_last_push_action_before = ( + DataStore.get_time_of_last_push_action_before.__func__ + ) + class PusherServer(HomeServer): |