chore: add workspace activity linter (#13273)

This commit is contained in:
Garrett Delfosse
2024-05-14 12:31:31 -04:00
committed by GitHub
parent 2b29559984
commit 721ab2a1b4
7 changed files with 26 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func (b *Batcher) flush(ctx context.Context, forced bool, reason string) {
b.buf.ConnectionsByProto = payload
}
// nolint:gocritic // (#13146) Will be moved soon as part of refactor.
err = b.store.InsertWorkspaceAgentStats(ctx, *b.buf)
elapsed := time.Since(start)
if err != nil {