source: npl/system/nss_ldap/patches/boot_delays.patch @ 7c410f9

Last change on this file since 7c410f9 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
  • ldap-nss.h

    Description: Reduce tries to minimize boot delays
    
    a b  
    9696 * unacceptable, in which case you may wish to adjust
    9797 * the constants below.
    9898 */
    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 */
    102102#define LDAP_NSS_MAXCONNTRIES    2      /* reconnect attempts before sleeping */
    103103
    104104#if defined(HAVE_NSSWITCH_H) || defined(HAVE_IRS_H)
Note: See TracBrowser for help on using the repository browser.