From 989f77c00a2526616ef4724f9ba0ce78e3fef0c5 Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Mon, 4 Dec 2017 19:15:00 -0500 Subject: [PATCH 1/2] increase SINGLE_HASH_ANNONCE_DURATION from 1 to 5 --- lbrynet/core/server/DHTHashAnnouncer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/core/server/DHTHashAnnouncer.py b/lbrynet/core/server/DHTHashAnnouncer.py index ba7bede7d..8bef7b177 100644 --- a/lbrynet/core/server/DHTHashAnnouncer.py +++ b/lbrynet/core/server/DHTHashAnnouncer.py @@ -96,7 +96,7 @@ class DHTHashSupplier(object): MIN_HASH_REANNOUNCE_TIME = 60*60 # conservative assumption of the time it takes to announce # a single hash - SINGLE_HASH_ANNOUNCE_DURATION = 1 + SINGLE_HASH_ANNOUNCE_DURATION = 5 """Classes derived from this class give hashes to a hash announcer""" def __init__(self, announcer): From fcfeb0cb78621b38eb070e4e695672fb053aa436 Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Tue, 5 Dec 2017 11:59:43 -0500 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 272a1dc71..a72104d72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ at anytime. * Renamed `channel_list_mine` to `channel_list` * Changed `channel_list` to include channels where the certificate info has been imported but the claim is not in the wallet * Changed `file_list`, `file_delete`, `file_set_status`, and `file_reflect` to no longer return claim related information. + * Increased assumption for time it takes to announce single hash from 1 second to 5 seconds ### Added * Added `channel_import` and `channel_export` commands