From 4d7522fd17a7d19b16452bf339ea8ecbbe885a59 Mon Sep 17 00:00:00 2001 From: Sasha Sheikin Date: Thu, 31 Oct 2024 15:06:06 +0100 Subject: [PATCH] Increase allowed timeouts for BigQuery service This should help to deal with Flakiness on CI with transient: 'Service is unavailable. Please retry.' --- .../java/io/trino/plugin/bigquery/BigQueryRpcConfig.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryRpcConfig.java b/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryRpcConfig.java index 3cc24e7698d0..e911f635bd0e 100644 --- a/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryRpcConfig.java +++ b/plugin/trino-bigquery/src/main/java/io/trino/plugin/bigquery/BigQueryRpcConfig.java @@ -111,7 +111,7 @@ public BigQueryRpcConfig setMaxRpcPerChannel(int maxRpcPerChannel) } @Min(0) - @Max(16) + @Max(1024) public int getRetries() { return retries; @@ -126,7 +126,7 @@ public BigQueryRpcConfig setRetries(int maxRetries) } @MinDuration("0s") - @MaxDuration("1m") + @MaxDuration("30m") public Duration getTimeout() { return timeout; @@ -141,7 +141,7 @@ public BigQueryRpcConfig setTimeout(Duration timeout) } @MinDuration("0s") - @MaxDuration("30s") + @MaxDuration("1m") public Duration getRetryDelay() { return retryDelay;