1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3-winbind: Increase the negative cache entry timout.

The timout for the cache entry of a negative connection should be the
double of a connect timeout (which is 30 seconds).
This commit is contained in:
Andreas Schneider 2011-11-14 10:01:03 +01:00
parent c1fd56fdd4
commit 6cf090070e

View File

@ -218,7 +218,7 @@
#define INVALID_SHARENAME_CHARS "%<>*?|/\\+=;:\","
/* Seconds between connection attempts to a remote server. */
#define FAILED_CONNECTION_CACHE_TIMEOUT 30
#define FAILED_CONNECTION_CACHE_TIMEOUT (LONG_CONNECT_TIMEOUT * 2 / 1000)
/* Default hash size for the winbindd cache. */
#define WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE 5000