reset ping timer when we read a line
This commit is contained in:
parent
0253aba99e
commit
3574868458
1 changed files with 2 additions and 1 deletions
|
@ -297,7 +297,8 @@ class Server(IServer):
|
||||||
|
|
||||||
for done in dones:
|
for done in dones:
|
||||||
if isinstance(done.result(), Line):
|
if isinstance(done.result(), Line):
|
||||||
line = done.result()
|
ping_sent = False
|
||||||
|
line = done.result()
|
||||||
self._process_queue.append(line)
|
self._process_queue.append(line)
|
||||||
elif done.result() is None:
|
elif done.result() is None:
|
||||||
if ping_sent:
|
if ping_sent:
|
||||||
|
|
Loading…
Reference in a new issue