Fixup name 'handler'
parent
8d81fd25c4
commit
984c959f38
|
@ -42,7 +42,7 @@ class ReplicationStreamProtocolFactory(Factory):
|
|||
"""
|
||||
|
||||
def __init__(self, hs):
|
||||
self.handler = hs.get_tcp_replication()
|
||||
self.command_handler = hs.get_tcp_replication()
|
||||
self.clock = hs.get_clock()
|
||||
self.server_name = hs.config.server_name
|
||||
|
||||
|
@ -52,7 +52,7 @@ class ReplicationStreamProtocolFactory(Factory):
|
|||
|
||||
def buildProtocol(self, addr):
|
||||
return ServerReplicationStreamProtocol(
|
||||
self.server_name, self.clock, self.handler
|
||||
self.server_name, self.clock, self.command_handler
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue