mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
warn if retry is not forever
This commit is contained in:
parent
70a71edffb
commit
3768fbbd30
@ -3930,6 +3930,12 @@ parse_syncrepl_retry(
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( j < 1 || si->si_retrynum_init[j-1] != RETRYNUM_FOREVER ) {
|
||||
Debug( LDAP_DEBUG_CONFIG,
|
||||
"%s: syncrepl will eventually stop retrying; the \"retry\" parameter should end with a '+'.\n",
|
||||
c->log, 0, 0 );
|
||||
}
|
||||
|
||||
si->si_retrynum_init[j] = RETRYNUM_TAIL;
|
||||
si->si_retrynum[j] = RETRYNUM_TAIL;
|
||||
si->si_retryinterval[j] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user