rpc connections limited to 8

This commit is contained in:
tim
2025-02-24 19:46:42 -04:00
parent f2e7749c7b
commit 67ab504a40
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ class BlockStateRunner(BlockProgressor):
log.debug('connecting to ws provider')
await w3ws.provider.connect()
subscription = await w3ws.eth.subscribe('newHeads') # the return value of this call is not consistent between anvil/hardhat/rpc.
log.debug(f'subscribed to newHeads {subscription}')
# log.debug(f'subscribed to newHeads {subscription}')
while self.running:
async for message in w3ws.ws.process_subscriptions():
block = Block(chain_id, message['result'])