We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7481ada commit6e4d903Copy full SHA for 6e4d903
coderd/workspaceagents.go
@@ -494,10 +494,10 @@ func (api *API) enqueueAITaskStateNotification(
494
"workspace":workspace.Name,
495
},
496
map[string]any{
497
-// Use a10-second bucketed timestamp to bypass per-day dedupe,
+// Use a1-minute bucketed timestamp to bypass per-day dedupe,
498
// allowing identical content to resend within the same day
499
// (but not more than once every 10s).
500
-"dedupe_bypass_ts":api.Clock.Now().UTC().Truncate(10*time.Second),
+"dedupe_bypass_ts":api.Clock.Now().UTC().Truncate(time.Minute),
501
502
"api-workspace-agent-app-status",
503
// Associate this notification with related entities