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)
if (pp->die) {
if (delay < 2)
delay = 10e-3;
delay = .01;
else
delay = 1;
VTIM_sleep(delay);
......
......@@ -434,7 +434,7 @@ tweak_poolparam(struct vsb *vsb, const struct parspec *par, const char *arg)
if (retval)
break;
retval = tweak_generic_double(vsb,
&px.max_age, av[3], "0", "1e6", "%.0f");
&px.max_age, av[3], "0", "1000000", "%.0f");
if (retval)
break;
if (px.min_pool > px.max_pool) {
......
......@@ -1424,7 +1424,7 @@ PARAM_THREAD(
/* name */ thread_pool_fail_delay,
/* field */ fail_delay,
/* type */ timeout,
/* min */ "10e-3",
/* min */ ".01",
/* max */ NULL,
/* def */ "0.2",
/* 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