Rename _refresh_pusher

This is public (or at least, called from outside the class), so ought to have a
better name.
This commit is contained in:
Richard van der Hoff 2018-10-22 16:12:11 +01:00
parent 81d4f51524
commit 3e8b02c939
2 changed files with 4 additions and 3 deletions

View file

@ -183,7 +183,7 @@ class PusherReplicationHandler(ReplicationClientHandler):
def start_pusher(self, user_id, app_id, pushkey):
key = "%s:%s" % (app_id, pushkey)
logger.info("Starting pusher %r / %r", user_id, key)
return self.pusher_pool._refresh_pusher(app_id, pushkey, user_id)
return self.pusher_pool.start_pusher_by_id(app_id, pushkey, user_id)
def start(config_options):