ping timeout giveup shouldn't hit continue
too
This commit is contained in:
parent
a102230495
commit
a08f53b7f7
1 changed files with 3 additions and 3 deletions
|
@ -213,10 +213,10 @@ class Server(IServer):
|
|||
else:
|
||||
ping_sent = True
|
||||
await self.send(build("PING", ["hello"]))
|
||||
continue
|
||||
continue
|
||||
|
||||
self.last_read = monotonic()
|
||||
ping_sent = False
|
||||
self.last_read = monotonic()
|
||||
ping_sent = False
|
||||
|
||||
try:
|
||||
lines = self.recv(data)
|
||||
|
|
Loading…
Reference in a new issue