From 9eb204cc74a04122e627cd38866d161f273a2fca Mon Sep 17 00:00:00 2001 From: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:45:54 +0000 Subject: [PATCH 1/4] Bumping drift-common to f4a3b72f6e9a383b3dd0b4313f69bd3512c25373 --- drift-common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drift-common b/drift-common index 78cb08e..f4a3b72 160000 --- a/drift-common +++ b/drift-common @@ -1 +1 @@ -Subproject commit 78cb08e848cffa103a4c382948237f8f5113b967 +Subproject commit f4a3b72f6e9a383b3dd0b4313f69bd3512c25373 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 2/4] 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 3/4] 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, }; From 3f348cb71d781e90be2e2dbd593cd36fc1394a2b Mon Sep 17 00:00:00 2001 From: wphan Date: Thu, 5 Dec 2024 13:39:20 -0800 Subject: [PATCH 4/4] bump Dockerfile node version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3418583..629a61e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM public.ecr.aws/bitnami/node:18 +FROM public.ecr.aws/bitnami/node:20.18.1 RUN apt-get install git ENV NODE_ENV=production RUN npm install -g typescript @@ -16,4 +16,4 @@ WORKDIR /app RUN yarn RUN yarn build -EXPOSE 9464 \ No newline at end of file +EXPOSE 9464