diff options
author | 2017-03-13 14:39:16 -0400 | |
---|---|---|
committer | 2017-03-14 09:50:24 -0400 | |
commit | 038eae089130bc3a814897c0e282223de16f4658 (patch) | |
tree | f7dae7a74b3e9ed41c36f6eadd3623f435caa48e /docker/docker-toool | |
parent | a681b985643f62de447039f25944e7c2d2347d28 (diff) |
Fixes multiple issues with retry function in rhel-registration.
There were multiple issues in retry() in rhel-registration:
- There was no need for it to be recursive (local variables
got overwritten)
- There was no delay between multiple attempts, leading to faster but
more frequent failures.
- The max number of attempts was set too low for some environements.
With this patch, rhel-registration now works more reliably with slow-links
for portal registration and does not attempt to DDos the portal or your
satellite server.
Change-Id: I594d3c94867b45a7a58766dbcc66edead78d6a4e
Diffstat (limited to 'docker/docker-toool')
0 files changed, 0 insertions, 0 deletions