summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rr/limit/debug.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rr/limit/debug.go b/cmd/rr/limit/debug.go
index bb25d099..b9d919dc 100644
--- a/cmd/rr/limit/debug.go
+++ b/cmd/rr/limit/debug.go
@@ -32,7 +32,7 @@ func (s *debugger) listener(event int, ctx interface{}) {
// watchers
switch event {
- case limit.EventMaxTTL:
+ case limit.EventTTL:
w := ctx.(roadrunner.WorkerError)
s.logger.Debug(util.Sprintf(
"<white+hb>worker.%v</reset> <yellow>%s</reset>",
@@ -41,7 +41,7 @@ func (s *debugger) listener(event int, ctx interface{}) {
))
return
- case limit.EventMaxIdleTTL:
+ case limit.EventIdleTTL:
w := ctx.(roadrunner.WorkerError)
s.logger.Debug(util.Sprintf(
"<white+hb>worker.%v</reset> <yellow>%s</reset>",
@@ -59,7 +59,7 @@ func (s *debugger) listener(event int, ctx interface{}) {
))
return
- case limit.EventMaxExecTTL:
+ case limit.EventExecTTL:
w := ctx.(roadrunner.WorkerError)
s.logger.Error(util.Sprintf(
"<white+hb>worker.%v</reset> <red>%s</reset>",