fast and furious

This commit is contained in:
Victor Shyba 2018-12-07 01:13:08 -03:00 committed by Lex Berezhny
parent 612066165a
commit 8bc07fad32

View file

@ -177,7 +177,7 @@ class SPVNode:
}
os.environ.update(conf)
self.server = Server(Env(self.coin_class))
self.server.bp.prefetcher.polling_delay = 0.5
self.server.mempool.refresh_secs = self.server.bp.prefetcher.polling_delay = 0.5
await self.server.start()
async def stop(self, cleanup=True):