mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-29 21:47:44 +02:00
fix local runtime (#1383)
This commit is contained in:
@@ -72,7 +72,7 @@ func (s *service) shouldStart() bool {
|
||||
if s.running {
|
||||
return false
|
||||
}
|
||||
return s.maxRetries <= s.retries
|
||||
return s.retries <= s.maxRetries
|
||||
}
|
||||
|
||||
func (s *service) ShouldStart() bool {
|
||||
|
||||
Reference in New Issue
Block a user