summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-10 20:44:11 +0300
committerWolfy-J <[email protected]>2018-06-10 20:44:11 +0300
commite9203e05a7f3278a8080d0f69e6640e5d3d1042d (patch)
tree35051763c432b067c700880b87036bf6668f25ea
parent6831a8865388189f248933e1023fbb4e3b11f67e (diff)
debug mode added
-rw-r--r--cmd/rr/.rr.yaml4
-rw-r--r--debug/service.go6
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))
}
}