r4780 - trunk/varnish-cache/bin/varnishd
phk at varnish-cache.org
phk at varnish-cache.org
Thu May 6 13:04:49 CEST 2010
Author: phk
Date: 2010-05-06 13:04:49 +0200 (Thu, 06 May 2010)
New Revision: 4780
Modified:
trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Only configure -smalloc in -L mode.
Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c 2010-05-06 11:02:23 UTC (rev 4779)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c 2010-05-06 11:04:49 UTC (rev 4780)
@@ -593,8 +593,10 @@
if (L_arg) {
/* Learner mode */
- if (!s_arg_given)
+ if (!s_arg_given) {
setup_storage("malloc,1m");
+ s_arg_given = 1;
+ }
}
if (argc != 0) {
More information about the varnish-commit
mailing list