From 542d549bbc63cc8ac1bfe0e042ab4e13c9ea7acc Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Fri, 10 Feb 2023 16:09:54 +0100 Subject: [PATCH] added SIGKILL timeouts for docker and phusion_image --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index bb00dc53c7..a7ffeb9fd8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,7 @@ services: links: - mongo - redis + stop_grace_period: 60s volumes: - ~/sharelatex_data:/var/lib/sharelatex ######################################################################## @@ -45,6 +46,11 @@ services: # temporary fix for LuaLaTex compiles # see https://github.com/overleaf/overleaf/issues/695 TEXMFVAR: /var/lib/sharelatex/tmp/texmf-var + + # Give children processes delay to timeout + KILL_PROCESS_TIMEOUT: 60 + # Give all other processes (such as those which have been forked) delay to timeout + KILL_ALL_PROCESSES_TIMEOUT: 60 ## Set for SSL via nginx-proxy #VIRTUAL_HOST: 103.112.212.22