From 68a8fee73c9326258d2bff1d11bebe7c8e2b256f Mon Sep 17 00:00:00 2001 From: ra0x3 Date: Wed, 6 Dec 2023 08:36:31 -0500 Subject: [PATCH] chore: update deployment start --- .../fuel-indexer/templates/fuel-indexer-deployment.yaml | 4 +++- helm/fuel-indexer/templates/deployment.yaml | 4 +++- packages/fuel-indexer-benchmarks/src/bin/qa.rs | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/deployment/charts/fuel-indexer/templates/fuel-indexer-deployment.yaml b/deployment/charts/fuel-indexer/templates/fuel-indexer-deployment.yaml index 195f46590..622b3addf 100644 --- a/deployment/charts/fuel-indexer/templates/fuel-indexer-deployment.yaml +++ b/deployment/charts/fuel-indexer/templates/fuel-indexer-deployment.yaml @@ -60,7 +60,9 @@ spec: - "--replace-indexer" - "--accept-sql-queries" - "--block-page-size" - - "10" + - "30" + - "--client-request-delay" + - "1" env: - name: POSTGRES_PASSWORD valueFrom: diff --git a/helm/fuel-indexer/templates/deployment.yaml b/helm/fuel-indexer/templates/deployment.yaml index ebdeca869..270024d79 100644 --- a/helm/fuel-indexer/templates/deployment.yaml +++ b/helm/fuel-indexer/templates/deployment.yaml @@ -71,7 +71,9 @@ spec: - "--replace-indexer" - "--accept-sql-queries" - "--block-page-size" - - "10" + - "30" + - "--client-request-delay" + - "1" envFrom: - configMapRef: name: fuel-indexer diff --git a/packages/fuel-indexer-benchmarks/src/bin/qa.rs b/packages/fuel-indexer-benchmarks/src/bin/qa.rs index 7b0f3a7e7..530d354f2 100644 --- a/packages/fuel-indexer-benchmarks/src/bin/qa.rs +++ b/packages/fuel-indexer-benchmarks/src/bin/qa.rs @@ -542,7 +542,6 @@ async fn main() { .arg("--fuel-node-port") .arg("80") .arg("--replace-indexer") - .arg("--allow-non-sequential-blocks") .arg("--postgres-host") .arg(&postgres_host) .arg("--postgres-port") @@ -551,6 +550,10 @@ async fn main() { .arg(&postgres_user) .arg("--postgres-database") .arg(&postgres_db) + .arg("--client-request-delay") + .arg("1") + .arg("--block-page-size") + .arg("30") .spawn() .unwrap();