Sleep for a bit after every read to not waste an entire core

develop
Sven Slootweg 12 years ago
parent 82e4826dea
commit 090165e62f

@ -67,3 +67,5 @@ while True:
print "Skipped '%s' by '%s' (already exists)" % (s_title, s_authors)
else:
print "Unrecognized command: %s" % message_type
time.sleep(0.05)

Loading…
Cancel
Save