add debug log to hash announcing

This commit is contained in:
Job Evers-Meltzer 2017-01-21 22:48:16 -06:00
parent dc57b62157
commit 7696f30009

View file

@ -64,6 +64,7 @@ class DHTHashAnnouncer(object):
announce_deferred = defer.Deferred()
ds.append(announce_deferred)
self.hash_queue.append((h, announce_deferred))
log.debug('There are now %s hashes remaining to be announced', len(self.hash_queue))
def announce():
if len(self.hash_queue):