diff --git a/drift-common b/drift-common index f4a3b72..72eb358 160000 --- a/drift-common +++ b/drift-common @@ -1 +1 @@ -Subproject commit f4a3b72f6e9a383b3dd0b4313f69bd3512c25373 +Subproject commit 72eb3581301794f7fef443467b67718e5309a64b diff --git a/src/publishers/dlobPublisher.ts b/src/publishers/dlobPublisher.ts index dbd29ec..dc660c0 100644 --- a/src/publishers/dlobPublisher.ts +++ b/src/publishers/dlobPublisher.ts @@ -332,6 +332,11 @@ const main = async () => { grpcConfigs: { endpoint, token, + channelOptions: { + 'grpc.keepalive_time_ms': 10_000, + 'grpc.keepalive_timeout_ms': 1_000, + 'grpc.keepalive_permit_without_calls': 1, + }, }, }; @@ -437,6 +442,11 @@ const main = async () => { endpoint: endpoint, token: token, commitmentLevel: stateCommitment, + channelOptions: { + 'grpc.keepalive_time_ms': 10_000, + 'grpc.keepalive_timeout_ms': 1_000, + 'grpc.keepalive_permit_without_calls': 1, + }, }, commitment: stateCommitment, };