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 diff --git a/drift-common b/drift-common index 78cb08e..72eb358 160000 --- a/drift-common +++ b/drift-common @@ -1 +1 @@ -Subproject commit 78cb08e848cffa103a4c382948237f8f5113b967 +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, };