reduce hub writer polling delay
This commit is contained in:
parent
ff8c08b289
commit
7fe34ebb78
1 changed files with 1 additions and 1 deletions
|
@ -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."""
|
||||
|
|
Loading…
Reference in a new issue