add testdata to the client

This commit is contained in:
Bastian Schroll 2019-03-05 12:32:56 +01:00
parent 6306a845c7
commit 66e0ede4c0
3 changed files with 145 additions and 4 deletions

View file

@ -82,6 +82,7 @@ try:
while 1:
if incomingQueue.empty(): # pause only when no data
time.sleep(0.1) # reduce cpu load (wait 100ms)
# in worst case a packet have to wait 100ms until it will be processed
else:
data = incomingQueue.get()