Skip to content

Commit

Permalink
chore: bump get_logs_asap concurrency (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Apr 8, 2024
1 parent 8e7600d commit ec20a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yearn/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_logs_asap(
if verbose > 0:
logger.info('fetching %d batches', len(ranges))

batches = Parallel(1, "threading", verbose=verbose)(
batches = Parallel(32, "threading", verbose=verbose)(
delayed(web3.eth.get_logs)(_get_logs_params(addresses, topics, start, end))
for start, end in ranges
)
Expand Down

0 comments on commit ec20a96

Please sign in to comment.