Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e4d903

Browse files
authored
fix(coderd): increase task notification dedupe bypass timestamp to 1 minute (#20043)
1 parent7481ada commit6e4d903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎coderd/workspaceagents.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,10 @@ func (api *API) enqueueAITaskStateNotification(
494494
"workspace":workspace.Name,
495495
},
496496
map[string]any{
497-
// Use a10-second bucketed timestamp to bypass per-day dedupe,
497+
// Use a1-minute bucketed timestamp to bypass per-day dedupe,
498498
// allowing identical content to resend within the same day
499499
// (but not more than once every 10s).
500-
"dedupe_bypass_ts":api.Clock.Now().UTC().Truncate(10*time.Second),
500+
"dedupe_bypass_ts":api.Clock.Now().UTC().Truncate(time.Minute),
501501
},
502502
"api-workspace-agent-app-status",
503503
// Associate this notification with related entities

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp