Searched refs:refresh_ttl_max (Results 1 – 1 of 1) sorted by relevance
1453 static int refresh_ttl_max = 0; in getldap_set_refresh_ttl() local1500 refresh_ttl_max = getldap_get_cacheTTL(); in getldap_set_refresh_ttl()1506 refresh_ttl_max, refresh_ttl_min); in getldap_set_refresh_ttl()1508 if (refresh_ttl_max <= 0) in getldap_set_refresh_ttl()1509 refresh_ttl_max = REFRESHTTL_MAX; in getldap_set_refresh_ttl()1510 else if (refresh_ttl_max < refresh_ttl_min) in getldap_set_refresh_ttl()1511 refresh_ttl_max = refresh_ttl_min; in getldap_set_refresh_ttl()1519 if (*refresh_ttl > (refresh_ttl_max + refresh_ttl_min) / 2) in getldap_set_refresh_ttl()1520 *refresh_ttl = (refresh_ttl_max + refresh_ttl_min) / 2; in getldap_set_refresh_ttl()1526 refresh_ttl_max, refresh_ttl_min); in getldap_set_refresh_ttl()[all …]