Skip to content

Commit

Permalink
Add hasura.select_limit env variable (#47)
Browse files Browse the repository at this point in the history
* Add hasura.select_limit env variable, switch Hasura image to latest

* review
  • Loading branch information
droserasprout authored Feb 7, 2024
1 parent 0cbe7fa commit b6123e9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/dipdup.ghostnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion build/dipdup.mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion build/dipdup.thumbs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:-10000}
allow_aggregation: false
rest: true

Expand Down
2 changes: 1 addition & 1 deletion build/dipdup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ services:
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-changeme}
- ADMIN_SECRET=${ADMIN_SECRET:-changeme}
- HASURA_SELECT_LIMIT=${HASURA_SELECT_LIMIT:-10000}
- IPFS_NODE_URI=${IPFS_NODE_URI:-https://ipfs.io}
volumes:
- ipfs:/etc/metadata/ipfs
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-changeme}
- ADMIN_SECRET=${ADMIN_SECRET:-changeme}
- HASURA_SELECT_LIMIT=${HASURA_SELECT_LIMIT:-10000}
- IPFS_NODE_URI=${IPFS_NODE_URI:-https://ipfs.io}
volumes:
- ipfs:/etc/metadata/ipfs
Expand Down

0 comments on commit b6123e9

Please sign in to comment.