From f0f8ef044b48ada849d9da001ec6cc0a7ce92566 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Sun, 16 Jan 2022 14:01:30 -0500 Subject: [PATCH] reduce hub writer polling delay --- lbry/wallet/server/prefetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/wallet/server/prefetcher.py b/lbry/wallet/server/prefetcher.py index 7d986b0c3..46962c1e4 100644 --- a/lbry/wallet/server/prefetcher.py +++ b/lbry/wallet/server/prefetcher.py @@ -27,7 +27,7 @@ class Prefetcher: self.min_cache_size = 10 * 1024 * 1024 # This makes the first fetch be 10 blocks self.ave_size = self.min_cache_size // 10 - self.polling_delay = 5 + self.polling_delay = 0.5 async def main_loop(self, bp_height): """Loop forever polling for more blocks."""