Skip to content
Snippets Groups Projects
Commit b0667809 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

-todo

parent 082ecac9
No related branches found
No related tags found
No related merge requests found
...@@ -277,9 +277,11 @@ class Connection(object): ...@@ -277,9 +277,11 @@ class Connection(object):
Shall the connection die in the meantime, watchdog will not Shall the connection die in the meantime, watchdog will not
be called, and everything will process according to be called, and everything will process according to
ListenerThread's on_fail callback. ListenerThread's on_fail callback.
This is necessary to implement timeout detection when setting up the connection
and heartbeat is not yet configured.
""" """
try: try:
# todo why is that necessary? it doesnt pass travis CI if there's no this block
self.listener_socket.oneshot(delay, callback) self.listener_socket.oneshot(delay, callback)
except AttributeError: except AttributeError:
pass # print(dir(self)) pass # print(dir(self))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment