From 90494526764497c89ebf5c9d0d68914ca916ee4e Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Wed, 23 Apr 2025 13:16:57 +0300 Subject: [PATCH] chore(dogfood): increase container graceful stop time --- dogfood/coder/main.tf | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dogfood/coder/main.tf b/dogfood/coder/main.tf index 5bf9e682bbf43..e9df01a4a12f3 100644 --- a/dogfood/coder/main.tf +++ b/dogfood/coder/main.tf @@ -425,10 +425,16 @@ resource "docker_container" "workspace" { # CPU limits are unnecessary since Docker will load balance automatically memory = data.coder_workspace_owner.me.name == "code-asher" ? 65536 : 32768 runtime = "sysbox-runc" - # Ensure the workspace is given time to execute shutdown scripts. - destroy_grace_seconds = 60 - stop_timeout = 60 + + # Ensure the workspace is given time to: + # - Execute shutdown scripts + # - Stop the in workspace Docker daemon + # - Stop the container, especially when using devcontainers, + # deleting the overlay filesystem can take a while. + destroy_grace_seconds = 300 + stop_timeout = 300 stop_signal = "SIGINT" + env = [ "CODER_AGENT_TOKEN=${coder_agent.dev.token}", "USE_CAP_NET_ADMIN=true", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy