k
This commit is contained in:
parent
1c425eb17d
commit
7135fdbc3d
1 changed files with 2 additions and 2 deletions
|
@ -92,12 +92,12 @@ class TimeoutWatcher(threading.Thread,Loggable):
|
||||||
# isn't strictly necessary since RequestSync threads already
|
# isn't strictly necessary since RequestSync threads already
|
||||||
# chain themselves
|
# chain themselves
|
||||||
if self.watcher.requests_in_queue():
|
if self.watcher.requests_in_queue():
|
||||||
self.logger.info("We got %d requests waiting to be launched" %
|
self.logger.info("We have %d requests waiting to be launched" %
|
||||||
self.watcher.requests_left_count())
|
self.watcher.requests_left_count())
|
||||||
self.watcher.request_do()
|
self.watcher.request_do()
|
||||||
# Same for events, this behaviour is mandatory however.
|
# Same for events, this behaviour is mandatory however.
|
||||||
if self.watcher.events_in_queue():
|
if self.watcher.events_in_queue():
|
||||||
self.logger.info("We got %d events that are unflushed" %
|
self.logger.info("We have %d events that are unflushed" %
|
||||||
self.watcher.events_left_count())
|
self.watcher.events_left_count())
|
||||||
self.watcher.flush_events()
|
self.watcher.flush_events()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue