Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
4656a522
Commit
4656a522
authored
May 19, 2021
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dont use "scientific notation" for parameters.
parent
d5910607
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
cache_wrk.c
bin/varnishd/cache/cache_wrk.c
+1
-1
mgt_param_tweak.c
bin/varnishd/mgt/mgt_param_tweak.c
+1
-1
params.h
include/tbl/params.h
+1
-1
No files found.
bin/varnishd/cache/cache_wrk.c
View file @
4656a522
...
...
@@ -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
);
...
...
bin/varnishd/mgt/mgt_param_tweak.c
View file @
4656a522
...
...
@@ -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"
,
"1
e6
"
,
"%.0f"
);
&
px
.
max_age
,
av
[
3
],
"0"
,
"1
000000
"
,
"%.0f"
);
if
(
retval
)
break
;
if
(
px
.
min_pool
>
px
.
max_pool
)
{
...
...
include/tbl/params.h
View file @
4656a522
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment