Fix runtime deadlock
This commit is contained in:
parent
0755084a59
commit
812ea78604
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user