summary refs log tree commit diff
path: root/synapse/push/mailer.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-10-18 10:52:47 +0100
committerErik Johnston <erik@matrix.org>2016-10-18 10:52:47 +0100
commitf0ca08828082eb1f0a5214b14099034ca53ecbab (patch)
tree27391a1da8f3c7f41c2f91c4e89123472ffa6642 /synapse/push/mailer.py
parentUpdate changelog (diff)
downloadsynapse-f0ca08828082eb1f0a5214b14099034ca53ecbab.tar.xz
Reduce redundant database work in email pusher
Update the last stream ordering if the
`get_unread_push_actions_for_user_in_range_for_email` returns no new
push actions. This reduces the range that it needs to check next
iteration.
Diffstat (limited to 'synapse/push/mailer.py')
0 files changed, 0 insertions, 0 deletions