summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-12-08 03:02:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:34 -0500
commitbc7142ce2373993e87511ff401815efd60b1c1dd (patch)
tree5ff2852e958acf9ee4ebdff5c77a7a41ca31587c /source3/param
parentc5dcd2d57234c8474ea2d95553f5a84ff682df90 (diff)
downloadsamba-bc7142ce2373993e87511ff401815efd60b1c1dd.tar.gz
samba-bc7142ce2373993e87511ff401815efd60b1c1dd.tar.bz2
samba-bc7142ce2373993e87511ff401815efd60b1c1dd.zip
r4094: BUG 2107: fix memory bloating caused by large numbers of print_queue_updates() requests sent via messages.tdb
(This used to be commit 56b1110c71b17eeb2ebdb7d506d86deb6b81f0d5)
Diffstat (limited to 'source3/param')
-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 d0bad3ff17..094eff81c0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1371,7 +1371,7 @@ static void init_globals(void)
/* Discovered by 2 days of pain by Don McCall @ HP :-). */
Globals.max_xmit = 0x4104;
Globals.max_mux = 50; /* This is *needed* for profile support. */
- Globals.lpqcachetime = 10;
+ Globals.lpqcachetime = 30; /* changed to handle large print servers better -- jerry */
Globals.bDisableSpoolss = False;
Globals.iMaxSmbdProcesses = 0;/* no limit specified */
Globals.pwordlevel = 0;