From cac130346dfd0f7ee6501ad9655d3a740d3be0e0 Mon Sep 17 00:00:00 2001 From: Danielle Maywood Date: Wed, 26 Mar 2025 14:33:10 +0000 Subject: [PATCH] chore: bump debounce from 5 minutes to 30 minutes (#17111) To ensure OOM/OOD isn't too spammy we want to have a debounce period of 30 minutes. --- coderd/agentapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/agentapi/api.go b/coderd/agentapi/api.go index 58032c0978..1b2b8d92a1 100644 --- a/coderd/agentapi/api.go +++ b/coderd/agentapi/api.go @@ -121,7 +121,7 @@ func New(opts Options) *API { Clock: opts.Clock, Database: opts.Database, NotificationsEnqueuer: opts.NotificationsEnqueuer, - Debounce: 5 * time.Minute, + Debounce: 30 * time.Minute, Config: resourcesmonitor.Config{ NumDatapoints: 20,