Skip to content

Commit 87e1a34

Browse files
authored
Adding queue timeout to router (#1384) [deploy][prerelease]
1 parent cfd299e commit 87e1a34

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Router/Dockerfile.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ USER 1200
44
# Selenium Router Configuration
55
#========================
66

7+
# In seconds, maps to "--session-request-timeout"
8+
ENV SE_SESSION_REQUEST_TIMEOUT 300
9+
# In seconds, maps to "--session-retry-interval"
10+
ENV SE_SESSION_RETRY_INTERVAL 5
11+
712
EXPOSE 4444
813

914
COPY start-selenium-grid-router.sh \

Router/start-selenium-grid-router.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ java ${JAVA_OPTS} -jar /opt/selenium/selenium-server.jar router \
5353
--sessions-host "${SE_SESSIONS_MAP_HOST}" --sessions-port "${SE_SESSIONS_MAP_PORT}" \
5454
--distributor-host "${SE_DISTRIBUTOR_HOST}" --distributor-port "${SE_DISTRIBUTOR_PORT}" \
5555
--sessionqueue-host "${SE_SESSION_QUEUE_HOST}" --sessionqueue-port "${SE_SESSION_QUEUE_PORT}" \
56+
--session-request-timeout ${SE_SESSION_REQUEST_TIMEOUT} \
57+
--session-retry-interval ${SE_SESSION_RETRY_INTERVAL} \
5658
--relax-checks true \
5759
${HOST_CONFIG} \
5860
${PORT_CONFIG} \

0 commit comments

Comments
 (0)