From 987eeeb4e9a9f52b3c0473a7e91b39519d0c01c6 Mon Sep 17 00:00:00 2001 From: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:29:24 +0000 Subject: [PATCH 1/2] Bumping drift-common to 72eb3581301794f7fef443467b67718e5309a64b --- drift-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 7e9702a4340b8c177b84973cfa7bad0f91f8dd79 Mon Sep 17 00:00:00 2001 From: wphan Date: Thu, 5 Dec 2024 13:06:16 -0800 Subject: [PATCH 2/2] add grpc channel keepalive options --- src/publishers/dlobPublisher.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) 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, };