Commit 4656a522 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Dont use "scientific notation" for parameters.

parent d5910607
...@@ -685,7 +685,7 @@ pool_herder(void *priv) ...@@ -685,7 +685,7 @@ pool_herder(void *priv)
if (pp->die) { if (pp->die) {
if (delay < 2) if (delay < 2)
delay = 10e-3; delay = .01;
else else
delay = 1; delay = 1;
VTIM_sleep(delay); VTIM_sleep(delay);
......
...@@ -434,7 +434,7 @@ tweak_poolparam(struct vsb *vsb, const struct parspec *par, const char *arg) ...@@ -434,7 +434,7 @@ tweak_poolparam(struct vsb *vsb, const struct parspec *par, const char *arg)
if (retval) if (retval)
break; break;
retval = tweak_generic_double(vsb, retval = tweak_generic_double(vsb,
&px.max_age, av[3], "0", "1e6", "%.0f"); &px.max_age, av[3], "0", "1000000", "%.0f");
if (retval) if (retval)
break; break;
if (px.min_pool > px.max_pool) { if (px.min_pool > px.max_pool) {
......
...@@ -1424,7 +1424,7 @@ PARAM_THREAD( ...@@ -1424,7 +1424,7 @@ PARAM_THREAD(
/* name */ thread_pool_fail_delay, /* name */ thread_pool_fail_delay,
/* field */ fail_delay, /* field */ fail_delay,
/* type */ timeout, /* type */ timeout,
/* min */ "10e-3", /* min */ ".01",
/* max */ NULL, /* max */ NULL,
/* def */ "0.2", /* def */ "0.2",
/* units */ "seconds", /* units */ "seconds",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment