Fix runtime deadlock

This commit is contained in:
Asim Aslam 2020-02-07 14:00:09 +00:00
parent 0755084a59
commit 812ea78604

View File

@ -74,7 +74,7 @@ func (s *service) shouldStart() bool {
if s.running {
return false
}
return s.maxRetries < s.retries
return s.maxRetries <= s.retries
}
func (s *service) ShouldStart() bool {