mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
chore: add workspace activity linter (#13273)
This commit is contained in:
@ -130,6 +130,7 @@ func (tr *Tracker) flush(now time.Time) {
|
||||
authCtx := dbauthz.AsSystemRestricted(ctx)
|
||||
tr.flushLock.Lock()
|
||||
defer tr.flushLock.Unlock()
|
||||
// nolint:gocritic // (#13146) Will be moved soon as part of refactor.
|
||||
if err := tr.s.BatchUpdateWorkspaceLastUsedAt(authCtx, database.BatchUpdateWorkspaceLastUsedAtParams{
|
||||
LastUsedAt: now,
|
||||
IDs: ids,
|
||||
|
Reference in New Issue
Block a user