diff --git a/build/dipdup.ghostnet.yml b/build/dipdup.ghostnet.yml index 5374a5b..3fc3ca0 100644 --- a/build/dipdup.ghostnet.yml +++ b/build/dipdup.ghostnet.yml @@ -128,7 +128,7 @@ database: hasura: url: http://${HASURA_HOST:-hasura}:8080 admin_secret: ${ADMIN_SECRET:-changeme} - select_limit: 10000 + select_limit: ${HASURA_SELECT_LIMIT:-10000} allow_aggregation: false rest: true source: diff --git a/build/dipdup.mainnet.yml b/build/dipdup.mainnet.yml index e4167bc..cf6c33a 100644 --- a/build/dipdup.mainnet.yml +++ b/build/dipdup.mainnet.yml @@ -58,7 +58,7 @@ database: hasura: url: http://${HASURA_HOST:-hasura}:8080 admin_secret: ${ADMIN_SECRET:-changeme} - select_limit: 10000 + select_limit: ${HASURA_SELECT_LIMIT:-10000} allow_aggregation: false rest: true source: diff --git a/build/dipdup.thumbs.yml b/build/dipdup.thumbs.yml index 504fde5..1bc7537 100644 --- a/build/dipdup.thumbs.yml +++ b/build/dipdup.thumbs.yml @@ -61,7 +61,7 @@ database: hasura: url: http://${HASURA_HOST:-hasura}:8080 admin_secret: ${ADMIN_SECRET:-changeme} - select_limit: 100 + select_limit: ${HASURA_SELECT_LIMIT:-100} allow_aggregation: false rest: true diff --git a/build/dipdup.yml b/build/dipdup.yml index 9026d6c..02ad505 100644 --- a/build/dipdup.yml +++ b/build/dipdup.yml @@ -185,7 +185,7 @@ database: hasura: url: http://${HASURA_HOST:-hasura}:8080 admin_secret: ${ADMIN_SECRET:-changeme} - select_limit: 10000 + select_limit: ${HASURA_SELECT_LIMIT:-10000} allow_aggregation: false rest: true source: diff --git a/docker-compose.test.yml b/docker-compose.test.yml index 609562b..cad48b1 100644 --- a/docker-compose.test.yml +++ b/docker-compose.test.yml @@ -15,6 +15,7 @@ services: environment: - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-changeme} - ADMIN_SECRET=${ADMIN_SECRET:-changeme} + - HASURA_SELECT_LIMIT=${HASURA_SELECT_LIMIT:-1000} - IPFS_NODE_URI=${IPFS_NODE_URI:-https://ipfs.io} volumes: - ipfs:/etc/metadata/ipfs @@ -37,7 +38,7 @@ services: retries: 5 hasura: - image: hasura/graphql-engine:v2.23.0 + image: hasura/graphql-engine:latest ports: - "127.0.0.1:8080:8080" depends_on: diff --git a/docker-compose.yml b/docker-compose.yml index f0f467f..226921c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: environment: - POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-changeme} - ADMIN_SECRET=${ADMIN_SECRET:-changeme} + - HASURA_SELECT_LIMIT=${HASURA_SELECT_LIMIT:-1000} - IPFS_NODE_URI=${IPFS_NODE_URI:-https://ipfs.io} volumes: - ipfs:/etc/metadata/ipfs @@ -36,7 +37,7 @@ services: retries: 5 hasura: - image: hasura/graphql-engine:v2.23.0 + image: hasura/graphql-engine:latest ports: - "127.0.0.1:8080:8080" depends_on: