log on closed/lost connection
This commit is contained in:
parent
35481a92f5
commit
0a07c8f131
1 changed files with 2 additions and 4 deletions
|
@ -263,9 +263,7 @@ class LBRYFileReflectorClientFactory(ClientFactory):
|
|||
|
||||
def clientConnectionLost(self, connector, reason):
|
||||
"""If we get disconnected, reconnect to server."""
|
||||
connector.connect()
|
||||
log.debug("connection lost: %s", reason)
|
||||
|
||||
def clientConnectionFailed(self, connector, reason):
|
||||
print("connection failed:", reason)
|
||||
from twisted.internet import reactor
|
||||
reactor.stop()
|
||||
log.debug("connection failed: %s", reason)
|
||||
|
|
Loading…
Reference in a new issue