summaryrefslogtreecommitdiff
path: root/plugins/server
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-02 19:17:03 +0300
committerValery Piashchynski <[email protected]>2021-02-02 19:17:03 +0300
commit2bdf7fafa73cabf7cf63657a6b58f2a423ae0fcd (patch)
treefe5efc14a18f78218816a2bc7a2e19ee95642714 /plugins/server
parent68becf8c58daec426f94513cf444061c199194d7 (diff)
Move worker states out of internal
Diffstat (limited to 'plugins/server')
-rw-r--r--plugins/server/plugin.go2
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")
}
}