More regularly
This commit is contained in:
parent
212d653b5b
commit
55cc1d3d65
@ -241,7 +241,7 @@ class MemPool(LoggedClass):
|
||||
# Now add the inputs
|
||||
for n, (hex_hash, tx) in enumerate(new_txs.items()):
|
||||
# Yield to process e.g. signals
|
||||
if n % 100 == 0:
|
||||
if n % 50 == 0:
|
||||
await asyncio.sleep(0)
|
||||
|
||||
if initial and time.time() > next_log:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user