logging, raise default concurrent announcers
This commit is contained in:
parent
eabf4a0e40
commit
dff1fd3fe9
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ ANDROID = 4
|
|||
KB = 2 ** 10
|
||||
MB = 2 ** 20
|
||||
|
||||
DEFAULT_CONCURRENT_ANNOUNCERS = 25
|
||||
DEFAULT_CONCURRENT_ANNOUNCERS = 100
|
||||
|
||||
DEFAULT_DHT_NODES = [
|
||||
('lbrynet1.lbry.io', 4444),
|
||||
|
|
|
@ -64,7 +64,7 @@ class DHTHashAnnouncer(object):
|
|||
log.debug("Failed to announce %i blobs", len(results) - len(announced_to))
|
||||
if announced_to:
|
||||
log.info('Took %s seconds to announce %i of %i attempted hashes (%f hashes per second)',
|
||||
now - start, len(blob_hashes), len(announced_to),
|
||||
now - start, len(announced_to), len(blob_hashes),
|
||||
int(float(len(blob_hashes)) / float(now - start)))
|
||||
defer.returnValue(results)
|
||||
|
||||
|
|
Loading…
Reference in a new issue