We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c976e commit 92d2e86Copy full SHA for 92d2e86
packages/client/src/connection.ts
@@ -79,7 +79,11 @@ export function defaultConnectionOpts(): ConnectionOptionsWithDefaults {
79
return {
80
address: LOCAL_TARGET,
81
credentials: grpc.credentials.createInsecure(),
82
- channelArgs: {},
+ channelArgs: {
83
+ 'grpc.keepalive_permit_without_calls': 1,
84
+ 'grpc.keepalive_time_ms': 30_000,
85
+ 'grpc.keepalive_timeout_ms': 15_000,
86
+ },
87
interceptors: [makeGrpcRetryInterceptor(defaultGrpcRetryOptions())],
88
metadata: {},
89
connectTimeoutMs: 10_000,
0 commit comments