empty response queue to avoid desync
This commit is contained in:
parent
885a516fe3
commit
6aef0660a3
|
@ -79,6 +79,7 @@ class MeasurementHandler(socketserver.BaseRequestHandler):
|
|||
time.sleep(0.2)
|
||||
self.request.sendall(b'.\n')
|
||||
pass
|
||||
while not self.server.response_queue.empty():
|
||||
reply = self.server.response_queue.get()
|
||||
|
||||
# send back response to the original source
|
||||
|
|
Loading…
Reference in New Issue
Block a user