Closed
Description
The simplest option available to us is to make
workspaceapps.StatsCollector
the single entity responsible for performing the following database queries:
ActivityBumpWorkspace
UpdateWorkspaceLastUsedAt
/BatchUpdateWorkspaceLastUsedAt
/UpdateTemplateWorkspacesLastUsedAt
InsertWorkspaceAgentStats
InsertWorkspaceAppStats
This will involve the following changes:
- Add a custom linter to detect usage of the above database methods outside of
workspaceapps
and warn. This will aid in the overall refactor.
Metadata
Metadata
Assignees
Labels
No labels