mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 19:21:36 +00:00
refactor: replace queries with cached versions for performance improvements
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user