summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-08 10:17:05 +0100
committerVolker Lendecke <vl@samba.org>2008-01-09 11:25:49 +0100
commit059be4dda06b51d04ed33c752d688ce46018fbdd (patch)
tree4e29c1902e8bed5ccd58a1570a290365d7e98fd3 /source3/param/loadparm.c
parentc16a00b0af1fe1268dd798254ffd2a9501cf0e17 (diff)
downloadsamba-059be4dda06b51d04ed33c752d688ce46018fbdd.tar.gz
samba-059be4dda06b51d04ed33c752d688ce46018fbdd.tar.bz2
samba-059be4dda06b51d04ed33c752d688ce46018fbdd.zip
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)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9700cd1320..eaf19b746a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1588,7 +1588,7 @@ static void init_globals(bool first_time_only)
Globals.bNTPipeSupport = True; /* Do NT pipes by default. */
Globals.bNTStatusSupport = True; /* Use NT status 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.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 */