Skip to content

Commit dd24ca0

Browse files
chore: fix emulator keepalives (#1083)
1 parent 777549e commit dd24ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public ManagedChannelBuilder apply(ManagedChannelBuilder input) {
128128
return input.usePlaintext();
129129
}
130130
})
131-
.setKeepAliveTime(Duration.ofSeconds(30)) // sends ping in this interval
131+
.setKeepAliveTime(Duration.ofSeconds(61)) // sends ping in this interval
132132
.setKeepAliveTimeout(
133133
Duration.ofSeconds(10)) // wait this long before considering the connection dead
134134
.build());

0 commit comments

Comments
 (0)