Skip to content

Commit e27e905

Browse files
committed
remove stale comment
1 parent 94563ef commit e27e905

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

coderd/workspaceapps/stats.go

-2
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,6 @@ func (sc *StatsCollector) start() {
363363
case reportFlushDone = <-sc.opts.Flush:
364364
}
365365

366-
// Ensure we don't hold up this request for too long. Add a few
367-
// seconds to prevent very short intervals from causing a timeout.
368366
ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
369367
//nolint:gocritic // Inserting app stats is a system function.
370368
_ = sc.flush(dbauthz.AsSystemRestricted(ctx))

0 commit comments

Comments
 (0)