mirror of https://github.com/str4d/RelayBot.git
Use timeout value.
This commit is contained in:
parent
37d8d786da
commit
3a5018ec1a
|
@ -35,7 +35,7 @@ def main():
|
|||
else:
|
||||
factory = RelayFactory(host, channel, privReply, port)
|
||||
|
||||
reactor.connectTCP(host, port, factory)
|
||||
reactor.connectTCP(host, port, factory, timeout)
|
||||
|
||||
reactor.callWhenRunning(signal, SIGINT, handler)
|
||||
reactor.run()
|
||||
|
|
Loading…
Reference in New Issue