diff options
author | Wolfy-J <[email protected]> | 2019-05-05 12:29:12 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-05-05 12:29:12 +0300 |
commit | e6acf9d57099c69ce58b1121716528825095814f (patch) | |
tree | e072766b682fa40521aeb4661094ea0779bb1123 /cmd | |
parent | ee12d7b834b501beed56945a54fdabe8bbdd4570 (diff) |
testing limits
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rr/limit/debug.go | 6 |
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>", |