add debug log to hash announcing
This commit is contained in:
parent
dc57b62157
commit
7696f30009
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class DHTHashAnnouncer(object):
|
||||||
announce_deferred = defer.Deferred()
|
announce_deferred = defer.Deferred()
|
||||||
ds.append(announce_deferred)
|
ds.append(announce_deferred)
|
||||||
self.hash_queue.append((h, 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():
|
def announce():
|
||||||
if len(self.hash_queue):
|
if len(self.hash_queue):
|
||||||
|
|
Loading…
Reference in a new issue