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 RUN apt-get install git
ENV NODE_ENV=production ENV NODE_ENV=production
RUN npm install -g typescript RUN npm install -g typescript

View File

@@ -332,6 +332,11 @@ const main = async () => {
grpcConfigs: { grpcConfigs: {
endpoint, endpoint,
token, 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, endpoint: endpoint,
token: token, token: token,
commitmentLevel: stateCommitment, commitmentLevel: stateCommitment,
channelOptions: {
'grpc.keepalive_time_ms': 10_000,
'grpc.keepalive_timeout_ms': 1_000,
'grpc.keepalive_permit_without_calls': 1,
},
}, },
commitment: stateCommitment, commitment: stateCommitment,
}; };