Skip to content

Commit c723b95

Browse files
committed
comment on WorkspaceAppAuditSessionTimeout use-case
1 parent 4ff41d4 commit c723b95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

coderd/coderd.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ type Options struct {
226226
UpdateAgentMetrics func(ctx context.Context, labels prometheusmetrics.AgentMetricLabels, metrics []*agentproto.Stats_Metric)
227227
StatsBatcher workspacestats.Batcher
228228

229+
// WorkspaceAppAuditSessionTimeout allows changing the timeout for audit
230+
// sessions. Raising or lowering this value will directly affect the write
231+
// load of the audit log table. This is used for testing. Default 1 hour.
229232
WorkspaceAppAuditSessionTimeout time.Duration
230233
WorkspaceAppsStatsCollectorOptions workspaceapps.StatsCollectorOptions
231234

0 commit comments

Comments
 (0)