MCPcopy Index your code
hub / github.com/coder/coder / CheckInactiveUsers

Function CheckInactiveUsers

enterprise/coderd/dormancy/dormantusersjob.go:27–29  ·  view source on GitHub ↗

CheckInactiveUsers function updates status of inactive users from active to dormant using default parameters.

(ctx context.Context, logger slog.Logger, clk quartz.Clock, db database.Store, auditor audit.Auditor)

Source from the content-addressed store, hash-verified

25// CheckInactiveUsers function updates status of inactive users from active to dormant
26// using default parameters.
27func CheckInactiveUsers(ctx context.Context, logger slog.Logger, clk quartz.Clock, db database.Store, auditor audit.Auditor) func() {
28 return CheckInactiveUsersWithOptions(ctx, logger, clk, db, auditor, jobInterval, accountDormancyPeriod)
29}
30
31// CheckInactiveUsersWithOptions function updates status of inactive users from active to dormant
32// using provided parameters.

Callers 1

ServerMethod · 0.92

Calls 1

Tested by

no test coverage detected