diff options
author | Valery Piashchynski <[email protected]> | 2021-02-02 19:17:03 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-02 19:17:03 +0300 |
commit | 2bdf7fafa73cabf7cf63657a6b58f2a423ae0fcd (patch) | |
tree | fe5efc14a18f78218816a2bc7a2e19ee95642714 /plugins/server/plugin.go | |
parent | 68becf8c58daec426f94513cf444061c199194d7 (diff) |
Move worker states out of internal
Diffstat (limited to 'plugins/server/plugin.go')
-rw-r--r-- | plugins/server/plugin.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go index 4fad82d1..73ce71f7 100644 --- a/plugins/server/plugin.go +++ b/plugins/server/plugin.go @@ -226,6 +226,8 @@ func (server *Plugin) collectPoolLogs(event interface{}) { server.log.Warn("worker exec timeout reached", "error", we.Payload.(error).Error()) case events.EventIdleTTL: server.log.Warn("worker idle timeout reached", "pid", we.Payload.(worker.BaseProcess).Pid()) + case events.EventPoolRestart: + server.log.Warn("requested pool restart") } } |