diff options
author | Nikolay Oskin <naoskin@tsum.ru> | 2022-08-06 13:30:40 +0300 |
---|---|---|
committer | Nikolay Oskin <naoskin@tsum.ru> | 2022-08-06 13:30:40 +0300 |
commit | 4a305861d99d7e2d76615c06ef49dda5d849bf40 (patch) | |
tree | 63cfe20440f7d7c3aa3cf6ee5367c4e2c756af56 /rutina.go | |
parent | 14fcf184ae40729e270821115e2ba39c475badb9 (diff) |
return ErrRunLimit when restartLimit exceeded
Diffstat (limited to 'rutina.go')
-rwxr-xr-x | rutina.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -219,7 +219,7 @@ func (p *process) run(pctx context.Context, errCh chan error, logger logger) err if errCh != nil { errCh <- ErrRunLimit } - return nil + return ErrRunLimit } } logger("restarting process #%d", p.id) |