improve testmode

This commit is contained in:
Bastian Schroll 2019-10-24 08:59:33 +02:00
parent 6233e9fbd4
commit a3494b54a6
2 changed files with 12 additions and 10 deletions

View file

@ -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