reduce hub writer polling delay

This commit is contained in:
Jack Robison 2022-01-16 14:01:30 -05:00
parent ff8c08b289
commit 7fe34ebb78
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -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."""