mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-10 00:33:59 +00:00
improve testmode
This commit is contained in:
parent
6233e9fbd4
commit
a3494b54a6
2 changed files with 12 additions and 10 deletions
|
|
@ -185,6 +185,8 @@ try:
|
|||
time.sleep(sendDelay)
|
||||
|
||||
else:
|
||||
if args.test:
|
||||
break
|
||||
time.sleep(0.1) # reduce cpu load (wait 100ms)
|
||||
# in worst case a packet have to wait 100ms until it will be processed
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue