diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-15 19:26:18 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-19 18:03:05 +0100 |
commit | 6b8c6e7e5815ea0ea9791064809c1923d608923a (patch) | |
tree | c08159dca721534817d28fc5e0e316bc605da695 /src/tests/fail_over-tests.c | |
parent | d096233fe7610186ee12f41f97ca9602a3768405 (diff) | |
download | sssd-6b8c6e7e5815ea0ea9791064809c1923d608923a.tar.gz sssd-6b8c6e7e5815ea0ea9791064809c1923d608923a.tar.bz2 sssd-6b8c6e7e5815ea0ea9791064809c1923d608923a.zip |
Restart services with a delay in case they are restarted too often
In case a service is restarted while the DP is not ready yet, it gets
restarted again immediatelly, which means the DP might still not be
ready. The allowed number of restarts is then depleted quickly.
This patch changes the restart mechanism such that the first restart
happens immediatelly, the second is scheduled after 2 second, then 4
etc..
https://fedorahosted.org/sssd/ticket/1528
Diffstat (limited to 'src/tests/fail_over-tests.c')
0 files changed, 0 insertions, 0 deletions