diff options
Diffstat (limited to 'service/http/service.go')
-rw-r--r-- | service/http/service.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/service/http/service.go b/service/http/service.go index 4187e55a..40eec579 100644 --- a/service/http/service.go +++ b/service/http/service.go @@ -118,6 +118,9 @@ func (s *Service) listener(event int, ctx interface{}) { } if event == roadrunner.EventServerFailure { - s.Stop() + // attempting rr server restart + if err := s.rr.Start(); err != nil { + s.Stop() + } } } |