Skip to content

Commit 09d5bd4

Browse files
committed
changing the timeout to 5 sec
1 parent 9729cba commit 09d5bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/BuiltInMetricsProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ OpenTelemetry getOrCreateOpenTelemetry(
110110
// https://github.com/GoogleCloudPlatform/opentelemetry-operations-java/issues/421
111111
// has been fixed.
112112
static boolean quickCheckIsRunningOnGcp() {
113-
int timeout = 500;
113+
int timeout = 5000;
114114
try {
115115
timeout =
116116
Integer.parseInt(System.getProperty("spanner.check_is_running_on_gcp_timeout", "500"));

0 commit comments

Comments
 (0)