added a timeout retry to send path in python protocol

This commit is contained in:
Oskar Weigl
2018-08-18 22:14:54 -07:00
parent 4c7e0e478c
commit cf9cf854a4
+3
View File
@@ -297,6 +297,9 @@ class Channel(PacketSink):
except ChannelDamagedException:
attempt += 1
continue # resend
except TimeoutError:
attempt += 1
continue # resend
finally:
self._my_lock.release()
# Wait for ACK until the resend timeout is exceeded