mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-06 06:43:54 +00:00
add testdata to the client
This commit is contained in:
parent
6306a845c7
commit
66e0ede4c0
3 changed files with 145 additions and 4 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue