Skip to content

Commit

Permalink
Increase retries in BigQueryQueryRunner
Browse files Browse the repository at this point in the history
The hope is to make tests more stable.
  • Loading branch information
kokosing committed Aug 19, 2024
1 parent 5286f64 commit 5d64b72
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ public DistributedQueryRunner build()
Map<String, String> connectorProperties = new HashMap<>(ImmutableMap.copyOf(this.connectorProperties));
connectorProperties.putIfAbsent("bigquery.views-enabled", "true");
connectorProperties.putIfAbsent("bigquery.view-expire-duration", "30m");
connectorProperties.putIfAbsent("bigquery.rpc-retries", "4");
connectorProperties.putIfAbsent("bigquery.rpc-retries", "10");
connectorProperties.putIfAbsent("bigquery.rpc-retry-delay", "200ms");
connectorProperties.putIfAbsent("bigquery.rpc-retry-delay-multiplier", "1.5");
connectorProperties.putIfAbsent("bigquery.rpc-timeout", "8s");
connectorProperties.putIfAbsent("bigquery.rpc-timeout", "30s");

queryRunner.installPlugin(new BigQueryPlugin());
queryRunner.createCatalog("bigquery", "bigquery", connectorProperties);
Expand Down

0 comments on commit 5d64b72

Please sign in to comment.