Skip to content

Commit

Permalink
chore: update deployment start (FuelLabs#1502)
Browse files Browse the repository at this point in the history
* chore: update deployment start

* bump block page size
  • Loading branch information
ra0x3 committed Dec 6, 2023
1 parent 118b6bd commit 8dc3654
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ spec:
- "--replace-indexer"
- "--accept-sql-queries"
- "--block-page-size"
- "10"
- "50"
- "--client-request-delay"
- "1"
env:
- name: POSTGRES_PASSWORD
valueFrom:
Expand Down
4 changes: 3 additions & 1 deletion helm/fuel-indexer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ spec:
- "--replace-indexer"
- "--accept-sql-queries"
- "--block-page-size"
- "10"
- "50"
- "--client-request-delay"
- "1"
envFrom:
- configMapRef:
name: fuel-indexer
Expand Down
4 changes: 4 additions & 0 deletions packages/fuel-indexer-benchmarks/src/bin/qa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,10 @@ async fn main() {
.arg(&postgres_user)
.arg("--postgres-database")
.arg(&postgres_db)
.arg("--client-request-delay")
.arg("1")
.arg("--block-page-size")
.arg("50")
.spawn()
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion scripts/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
start_period: 80s
fuel-indexer:
image: ghcr.io/fuellabs/fuel-indexer:latest
command: bash -c "sleep 2 && ./fuel-indexer run --network beta-4 --postgres-host postgres --postgres-password postgres --web-api-host 0.0.0.0 --run-migrations"
command: bash -c "sleep 2 && ./fuel-indexer run --network beta-4 --postgres-host postgres --postgres-password postgres --web-api-host 0.0.0.0 --run-migrations --client-request-delay 1 --block-page-size 50"
ports:
- "29987:29987"
volumes:
Expand Down

0 comments on commit 8dc3654

Please sign in to comment.