Fix debug log spamming if on slow connection.

This commit is contained in:
Cole Robinson 2009-10-01 12:04:03 -04:00
parent 06c94aa152
commit 5515bf33ca
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ class vmmEngine(gobject.GObject):
if self._tick_thread and self._tick_thread.isAlive():
if not self._tick_thread_slow:
logging.debug("Tick is slow, not running at requested rate.")
self._tick_thread_slow = True
return 1
self._tick_thread = threading.Thread(name="Tick thread",