mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 18:04:49 -04:00
Add some comments to areas that could be optimised.
This commit is contained in:
parent
3fbb031745
commit
5645d9747b
3 changed files with 14 additions and 1 deletions
|
@ -26,7 +26,9 @@ import random
|
|||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# Pushers could now be moved to pull out of the event_actions table instead
|
||||
# of listening on the event stream: this would avoid them having to run the
|
||||
# rules again.
|
||||
class Pusher(object):
|
||||
INITIAL_BACKOFF = 1000
|
||||
MAX_BACKOFF = 60 * 60 * 1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue