Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a sleep between tries of consul service reload
As expressed issue voxpupuli#231, consul reload will fails if it happens while consul is still booting. However, the addition of multiple tries does not solve the issue as all tries can occur in a very short lapse of time. In this PR, we introduce a sleep between each try, leaving consul up to 20 seconds between the first and the last reload to complete its boot, which should be enough.
- Loading branch information