mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 04:32:15 +01:00
chore(supervisor): InfoContext to DebugContext
This commit is contained in:
@@ -333,7 +333,7 @@ func (s *processSupervisor) maybeIdleShutdown() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
s.logger.InfoContext(context.Background(), "idle shutdown timeout reached, stopping process")
|
s.logger.DebugContext(context.Background(), "idle shutdown timeout reached, stopping process")
|
||||||
|
|
||||||
// Stop the ticker — it will be restarted on the next Launch().
|
// Stop the ticker — it will be restarted on the next Launch().
|
||||||
s.stopIdleTicker()
|
s.stopIdleTicker()
|
||||||
@@ -350,7 +350,7 @@ func (s *processSupervisor) maybeIdleShutdown() {
|
|||||||
s.firstStartErr = nil
|
s.firstStartErr = nil
|
||||||
s.reqCounter.Store(0)
|
s.reqCounter.Store(0)
|
||||||
|
|
||||||
s.logger.InfoContext(context.Background(), "process stopped due to idle timeout")
|
s.logger.DebugContext(context.Background(), "process stopped due to idle timeout")
|
||||||
}
|
}
|
||||||
|
|
||||||
// acquireSlot attempts to acquire a semaphore slot, yielding it back if a
|
// acquireSlot attempts to acquire a semaphore slot, yielding it back if a
|
||||||
|
|||||||
Reference in New Issue
Block a user