Last change
on this file was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
File size:
757 bytes
|
Rev | Line | |
---|
[c5c522c] | 1 | Description: Reduce tries to minimize boot delays |
---|
| 2 | |
---|
| 3 | --- a/ldap-nss.h |
---|
| 4 | +++ b/ldap-nss.h |
---|
| 5 | @@ -96,9 +96,9 @@ |
---|
| 6 | * unacceptable, in which case you may wish to adjust |
---|
| 7 | * the constants below. |
---|
| 8 | */ |
---|
| 9 | -#define LDAP_NSS_TRIES 5 /* number of sleeping reconnect attempts */ |
---|
| 10 | -#define LDAP_NSS_SLEEPTIME 4 /* seconds to sleep; doubled until max */ |
---|
| 11 | -#define LDAP_NSS_MAXSLEEPTIME 64 /* maximum seconds to sleep */ |
---|
| 12 | +#define LDAP_NSS_TRIES 1 /* number of sleeping reconnect attempts */ |
---|
| 13 | +#define LDAP_NSS_SLEEPTIME 1 /* seconds to sleep; doubled until max */ |
---|
| 14 | +#define LDAP_NSS_MAXSLEEPTIME 8 /* maximum seconds to sleep */ |
---|
| 15 | #define LDAP_NSS_MAXCONNTRIES 2 /* reconnect attempts before sleeping */ |
---|
| 16 | |
---|
| 17 | #if defined(HAVE_NSSWITCH_H) || defined(HAVE_IRS_H) |
---|
Note: See
TracBrowser
for help on using the repository browser.