IA logging

This commit is contained in:
Fabian @ Blax Software 2025-12-11 11:24:59 +01:00
parent 778d038b5a
commit 3689a084d1
1 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,10 @@ class StartServer extends Command
$this->loop->addPeriodicTimer(10, function () {
if ($this->getLastRestart() !== $this->lastRestart) {
\Log::channel('websocket')->info('Restart detected, triggering soft shutdown...', [
'previous_restart' => $this->lastRestart,
'current_restart' => $this->getLastRestart(),
]);
$this->triggerSoftShutdown();
}
});