projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Varnish plugin: add a default instance name if none defined in config.
[collectd.git]
/
src
/
collectd.c
diff --git
a/src/collectd.c
b/src/collectd.c
index
9a4ba08
..
277d3b0
100644
(file)
--- a/
src/collectd.c
+++ b/
src/collectd.c
@@
-151,9
+151,9
@@
static int init_global_variables (void)
str = global_option_get ("Timeout");
if (str == NULL)
- str = "
10
";
+ str = "
2
";
timeout_g = atoi (str);
- if (timeout_g <=
0
)
+ if (timeout_g <=
1
)
{
fprintf (stderr, "Cannot set the timeout to a correct value.\n"
"Please check your settings.\n");