refactor: replace queries with cached versions for performance improvements

This commit is contained in:
Andras Bacsai committed 2025-12-08 13:39:33 +01:00
1 parent bb83f4e5c3
commit 5e8d11f732
28 files changed
+305 -125

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ class DeploymentsIndicator extends Component
#[Computed]
public function deployments()
{
$servers = Server::ownedByCurrentTeam()->get();
$servers = Server::ownedByCurrentTeamCached();
return ApplicationDeploymentQueue::with(['application.environment.project'])
->whereIn('status', ['in_progress', 'queued'])