Docker Selenium 4 Health check interval

264 views
Skip to first unread message

Dan Wagner

unread,
Sep 14, 2021, 12:57:47 AM9/14/21
to Selenium Users
Hi,

How do you set the health check interval so that deleted pods are detected and removed quicker from the hub?
I tried setting SE_HEALTHCHECK_INTERVAL to map to healthcheck-interval config parameter but this doesn't seem to work.

The default setting is 120 seconds at which point the hub detects an issue with the node, and it seems to take another 120 seconds for the hub to remote the node.

Andrian Putina

unread,
Mar 23, 2022, 10:58:36 AM3/23/22
to Selenium Users
Hello,

You should use SE_OPTS env

Example in docker compose:

... 
    environment:
      - SE_OPTS=--healthcheck-interval 10
....
Reply all
Reply to author
Forward
0 new messages