source:
npl/system/nss_ldap/patches/boot_delays.patch
@
2154c77
Last change on this file since 2154c77 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 757 bytes |
-
ldap-nss.h
Description: Reduce tries to minimize boot delays
a b 96 96 * unacceptable, in which case you may wish to adjust 97 97 * the constants below. 98 98 */ 99 #define LDAP_NSS_TRIES 5/* number of sleeping reconnect attempts */100 #define LDAP_NSS_SLEEPTIME 4/* seconds to sleep; doubled until max */101 #define LDAP_NSS_MAXSLEEPTIME 64/* maximum seconds to sleep */99 #define LDAP_NSS_TRIES 1 /* number of sleeping reconnect attempts */ 100 #define LDAP_NSS_SLEEPTIME 1 /* seconds to sleep; doubled until max */ 101 #define LDAP_NSS_MAXSLEEPTIME 8 /* maximum seconds to sleep */ 102 102 #define LDAP_NSS_MAXCONNTRIES 2 /* reconnect attempts before sleeping */ 103 103 104 104 #if defined(HAVE_NSSWITCH_H) || defined(HAVE_IRS_H)
Note: See TracBrowser
for help on using the repository browser.