Merge branch 'master' into mainnet-beta

This commit is contained in:
wphan
2024-12-05 13:06:35 -08:00
2 changed files with 11 additions and 1 deletions

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