Skip to content
Snippets Groups Projects
Commit 96be8c37 authored by Matt Traudt's avatar Matt Traudt
Browse files

Log how many destinations are currently usable

GH: closes #138
parent 0741a28f
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,9 @@ class DestinationList:
while True:
if self._should_perform_usability_test():
self._perform_usability_test()
log.debug('%s/%s of our configured destinations are '
'usable at this time', len(self._usable_dests),
len(self._all_dests))
if len(self._usable_dests) > 0:
break
time_till_next_check = self._usability_test_interval + 0.0001
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment