From 2bdf7fafa73cabf7cf63657a6b58f2a423ae0fcd Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 2 Feb 2021 19:17:03 +0300 Subject: Move worker states out of internal --- plugins/server/plugin.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/server/plugin.go') 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") } } -- cgit v1.2.3