diff --git a/conf/arb1/dexorder-arb1.toml b/conf/arb1/dexorder-arb1.toml index cdf57d3..abf1218 100644 --- a/conf/arb1/dexorder-arb1.toml +++ b/conf/arb1/dexorder-arb1.toml @@ -1,6 +1,6 @@ rpc_url = 'arbitrum_dxod' ws_url = 'arbitrum_dxod_ws' archive_url = 'arbitrum_alchemy' -concurrent_rpc_connections=20 +concurrent_rpc_connections=8 metrics_port=9001 metadata = '' # this setting approves no tokens diff --git a/src/dexorder/runner.py b/src/dexorder/runner.py index 00c64ed..fc41635 100644 --- a/src/dexorder/runner.py +++ b/src/dexorder/runner.py @@ -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'])