diff options
author | Wolfy-J <[email protected]> | 2018-06-10 20:44:11 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-10 20:44:11 +0300 |
commit | e9203e05a7f3278a8080d0f69e6640e5d3d1042d (patch) | |
tree | 35051763c432b067c700880b87036bf6668f25ea | |
parent | 6831a8865388189f248933e1023fbb4e3b11f67e (diff) |
debug mode added
-rw-r--r-- | cmd/rr/.rr.yaml | 4 | ||||
-rw-r--r-- | debug/service.go | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cmd/rr/.rr.yaml b/cmd/rr/.rr.yaml index 33bfd14a..cb84af54 100644 --- a/cmd/rr/.rr.yaml +++ b/cmd/rr/.rr.yaml @@ -39,10 +39,10 @@ http: maxJobs: 0 # for how long worker is allowed to be bootstrapped. - allocateTimeout: 60000000 + allocateTimeout: 600000000 # amount of time given to worker to gracefully destruct itself. - destroyTimeout: 60000000 + destroyTimeout: 600000000 # static file serving. static: diff --git a/debug/service.go b/debug/service.go index 3664e91a..70520614 100644 --- a/debug/service.go +++ b/debug/service.go @@ -88,15 +88,15 @@ func (s *Service) listener(event int, ctx interface{}) { // rr server events switch event { case roadrunner.EventServerFailure: - s.Logger.Error(utils.Sprintf("<red+hb>http.rr</reset>: <red+hb>server is dead</reset>")) + s.Logger.Error(utils.Sprintf("<red>server is dead</reset>")) } // pool events switch event { case roadrunner.EventPoolConstruct: - s.Logger.Debug(utils.Sprintf("<white+hb>http.rr</reset>: <green>new worker pool</reset>")) + s.Logger.Debug(utils.Sprintf("<cyan>new worker pool</reset>")) case roadrunner.EventPoolError: - s.Logger.Error(utils.Sprintf("<red+hb>http.rr</reset>: <red>%s</reset>", ctx)) + s.Logger.Error(utils.Sprintf("<red>%s</reset>", ctx)) } } |