summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-05 12:29:12 +0300
committerWolfy-J <[email protected]>2019-05-05 12:29:12 +0300
commite6acf9d57099c69ce58b1121716528825095814f (patch)
treee072766b682fa40521aeb4661094ea0779bb1123 /cmd
parentee12d7b834b501beed56945a54fdabe8bbdd4570 (diff)
testing limits
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>",