Merge branch 'master' into staging

This commit is contained in:
wphan
2024-12-05 13:40:28 -08:00
3 changed files with 13 additions and 3 deletions

View File

@@ -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
EXPOSE 9464

View File

@@ -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,
};