Gracefully exiting workers
I still run my system on docker compose. And I'm currently updating the containers quite often. docker sends SIGTERM and then SIGKILL after a grace period [1]. how does windmill workers behave when executing a job and getting a SIGTERM?
I'm never in a rush, so I do not want to kill them. my thinking is that I should configure the grace period to be the same as the TIMEOUT env var. But then I expect the workers that recive a SIGTERM to exit and not take on another job. Is this a correct understanding of how workers in windmill should work?
[1] https://docs.docker.com/engine/reference/commandline/stop/