mirror of
https://github.com/pockethost/pockethost.git
synced 2025-05-12 02:40:37 +00:00
enh: add user log message on idle shutdown
This commit is contained in:
parent
a7ee001735
commit
05e8492c10
@ -367,6 +367,9 @@ export const instanceService = mkSingleton(
|
||||
) {
|
||||
info(`idle for ${DAEMON_PB_IDLE_TTL()}, shutting down`)
|
||||
healthyGuard()
|
||||
userInstanceLogger.info(
|
||||
`Instance has been idle for ${DAEMON_PB_IDLE_TTL()}ms. Hibernating to conserve resources.`,
|
||||
)
|
||||
await _safeShutdown().catch(error)
|
||||
return false
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user