From 7286bf64da965ed2a508d3394b1e7783d462816f Mon Sep 17 00:00:00 2001 From: Danielle Maywood Date: Wed, 26 Mar 2025 13:57:07 +0000 Subject: [PATCH] chore: bump debounce from 5 minutes to 30 minutes 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 58032c0978b8d..1b2b8d92a10ef 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,