chore: increase du interval to 1h in dogfood/coder template (#21555)

Increases the interval of running `du` on `/home/coder` and
`/var/lib/docker` to 1h.
Also decreases the timout to 1m; having `du` run for longer is likely
not great.
This commit is contained in:
Cian Johnston
2026-01-19 09:57:29 +00:00
committed by GitHub
parent 34c7fe2eaf
commit d176714f90
+4 -4
View File
@@ -506,8 +506,8 @@ resource "coder_agent" "dev" {
key = "home_usage"
order = 2
script = "sudo du -sh /home/coder | awk '{print $1}'"
interval = 600
timeout = 600
interval = 3600 # 1h to avoid thrashing disk
timeout = 60 # Longer than this is likely problematic
}
metadata {
@@ -515,8 +515,8 @@ resource "coder_agent" "dev" {
key = "var_lib_docker_usage"
order = 3
script = "sudo du -sh /var/lib/docker | awk '{print $1}'"
interval = 600
timeout = 600
interval = 3600 # 1h to avoid thrashing disk
timeout = 60 # Longer than this is likely problematic
}
metadata {