Increase initial Hasura connection retry count
droserasprout opened this issue · 0 comments
droserasprout commented
Currently we imply errors to be 500 and fail fast:
INFO dipdup.hasura Configuring Hasura
INFO dipdup.hasura Connecting to Hasura instance
WARNING dipdup.http HTTP request attempt 1/3 failed: Cannot connect to host uniswap-staging_hasura:8080 ssl:default [Name or service not known]
INFO dipdup.http Waiting 1.0 seconds before retry
WARNING dipdup.http HTTP request attempt 2/3 failed: Cannot connect to host uniswap-staging_hasura:8080 ssl:default [Name or service not known]
INFO dipdup.http Waiting 1.1 seconds before retry
WARNING dipdup.http HTTP request attempt 3/3 failed: Cannot connect to host uniswap-staging_hasura:8080 ssl:default [Name or service not known]
INFO dipdup.http Waiting 1.2100000000000002 seconds before retry
Traceback (most recent call last):