From 988657368292a0f52ae8adcb5a42e01244040cf0 Mon Sep 17 00:00:00 2001 From: vdelendik Date: Fri, 25 Aug 2023 12:04:21 +0300 Subject: [PATCH] #192: increased default GRID_NEW_SESSION_WAIT_TIMEOUT to 10m and specified 20m on nginx side --- configuration/stf-proxy/nginx.conf.original | 6 +++--- docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configuration/stf-proxy/nginx.conf.original b/configuration/stf-proxy/nginx.conf.original index c2ed83e..f84a406 100644 --- a/configuration/stf-proxy/nginx.conf.original +++ b/configuration/stf-proxy/nginx.conf.original @@ -43,9 +43,9 @@ http { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_connect_timeout 60; - proxy_send_timeout 300; - proxy_read_timeout 300; + proxy_connect_timeout 120; + proxy_send_timeout 1200; + proxy_read_timeout 1200; proxy_buffers 32 64m; proxy_buffer_size 64k; proxy_next_upstream error timeout http_502 http_503 http_504; diff --git a/docker-compose.yml b/docker-compose.yml index 9ede72f..ade5046 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,8 +24,8 @@ services: - variables.env environment: - STF_URL=http://stf-api:3000 -# 4min session wait timeout as 5 min is configured on NGiNX - - GRID_NEW_SESSION_WAIT_TIMEOUT=240000 +# 10 min session wait timeout as 20 min is configured on NGiNX + - GRID_NEW_SESSION_WAIT_TIMEOUT=600000 - GRID_TIMEOUT=60000 - GRID_BROWSER_TIMEOUT=60000 - CHECK_APPIUM_STATUS=true