Skip to content

Commit

Permalink
fix: remove mux cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Nov 23, 2024
1 parent 3b427db commit 886893c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function schedule(Schedule $schedule): void
$this->instanceTimezone = config('app.timezone');
}

$this->scheduleInstance->job(new CleanupStaleMultiplexedConnections)->hourly();
// $this->scheduleInstance->job(new CleanupStaleMultiplexedConnections)->hourly();

if (isDev()) {
// Instance Jobs
Expand Down Expand Up @@ -154,7 +154,7 @@ private function checkResources(): void
}

// Cleanup multiplexed connections every hour
$this->scheduleInstance->job(new ServerCleanupMux($server))->hourly()->onOneServer();
// $this->scheduleInstance->job(new ServerCleanupMux($server))->hourly()->onOneServer();

// Temporary solution until we have better memory management for Sentinel
if ($server->isSentinelEnabled()) {
Expand Down

0 comments on commit 886893c

Please sign in to comment.