From 683277197319a1cea74f4cc888e004c67f30e965 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Fri, 7 Apr 2023 11:58:50 +0300 Subject: [PATCH] [#47] Raise default STREAM_TIMEOUT to 60s Signed-off-by: Andrey Berezin --- scenarios/grpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenarios/grpc.js b/scenarios/grpc.js index 64ae400..19a975a 100644 --- a/scenarios/grpc.js +++ b/scenarios/grpc.js @@ -23,7 +23,7 @@ const summary_json = __ENV.SUMMARY_JSON || "/tmp/summary.json"; // Select random gRPC endpoint for current VU const grpc_endpoints = __ENV.GRPC_ENDPOINTS.split(','); const grpc_endpoint = grpc_endpoints[Math.floor(Math.random() * grpc_endpoints.length)]; -const grpc_client = native.connect(grpc_endpoint, '', __ENV.DIAL_TIMEOUT ? parseInt(__ENV.DIAL_TIMEOUT) : 5, __ENV.STREAM_TIMEOUT ? parseInt(__ENV.STREAM_TIMEOUT) : 15); +const grpc_client = native.connect(grpc_endpoint, '', __ENV.DIAL_TIMEOUT ? parseInt(__ENV.DIAL_TIMEOUT) : 5, __ENV.STREAM_TIMEOUT ? parseInt(__ENV.STREAM_TIMEOUT) : 60); const log = logging.new().withField("endpoint", grpc_endpoint); const registry_enabled = !!__ENV.REGISTRY_FILE;