mirror of
https://github.com/FrodoVDR/UdpPipe.git
synced 2023-10-10 13:36:54 +02:00
Fix for the fix - last fix wasn't working entirely correct.
This commit is contained in:
parent
06d595dbce
commit
5c6b42de01
@ -539,6 +539,7 @@ class Tail(PipeBase):
|
|||||||
elif e.errno==errno.ECONNREFUSED or e.errno==errno.EBADF or e.errno==errno.ECONNRESET:
|
elif e.errno==errno.ECONNREFUSED or e.errno==errno.EBADF or e.errno==errno.ECONNRESET:
|
||||||
self.log.warn("[Tail] Unable to connect to host %s:%d. Will try again in %d seconds.(Reason %s)" % (self.headHost,self.headPort, Tail.WAIT4RETRY, str(e)))
|
self.log.warn("[Tail] Unable to connect to host %s:%d. Will try again in %d seconds.(Reason %s)" % (self.headHost,self.headPort, Tail.WAIT4RETRY, str(e)))
|
||||||
servSocket.close()
|
servSocket.close()
|
||||||
|
if servSocket in self.fds:
|
||||||
self.fds.remove(servSocket)
|
self.fds.remove(servSocket)
|
||||||
self.connected=False
|
self.connected=False
|
||||||
time.sleep(Tail.WAIT4RETRY)
|
time.sleep(Tail.WAIT4RETRY)
|
||||||
|
Loading…
Reference in New Issue
Block a user