1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-22 07:17:05 +03:00

Reduce stat cache size default

Now that we have a LRU scheme for the stat cache we can live with a lot less
(This used to be commit 9e736aab07b91744d4c14a55f6f7c55f51dd80f6)
This commit is contained in:
Volker Lendecke 2008-01-08 10:17:05 +01:00
parent c16a00b0af
commit 059be4dda0

View File

@ -1588,7 +1588,7 @@ static void init_globals(bool first_time_only)
Globals.bNTPipeSupport = True; /* Do NT pipes by default. */ Globals.bNTPipeSupport = True; /* Do NT pipes by default. */
Globals.bNTStatusSupport = True; /* Use NT status by default. */ Globals.bNTStatusSupport = True; /* Use NT status by default. */
Globals.bStatCache = True; /* use stat cache by default */ Globals.bStatCache = True; /* use stat cache by default */
Globals.iMaxStatCacheSize = 1024; /* one Meg by default. */ Globals.iMaxStatCacheSize = 256; /* 256k by default */
Globals.restrict_anonymous = 0; Globals.restrict_anonymous = 0;
Globals.bClientLanManAuth = False; /* Do NOT use the LanMan hash if it is available */ Globals.bClientLanManAuth = False; /* Do NOT use the LanMan hash if it is available */
Globals.bClientPlaintextAuth = False; /* Do NOT use a plaintext password even if is requested by the server */ Globals.bClientPlaintextAuth = False; /* Do NOT use a plaintext password even if is requested by the server */