Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
1ba11856
Commit
1ba11856
authored
Jan 24, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
From
@slink
:
tmo can become negative if timeout_idle gets changed on the fly or when the rtc jumps
parent
f394d25d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
cache_waiter_ports.c
bin/varnishd/waiter/cache_waiter_ports.c
+0
-6
No files found.
bin/varnishd/waiter/cache_waiter_ports.c
View file @
1ba11856
...
@@ -222,12 +222,6 @@ vws_thread(void *priv)
...
@@ -222,12 +222,6 @@ vws_thread(void *priv)
double
tmo
=
double
tmo
=
(
sp
->
t_idle
+
cache_param
->
timeout_idle
)
-
now
;
(
sp
->
t_idle
+
cache_param
->
timeout_idle
)
-
now
;
/*
* we should have removed all sps whose timeout
* has passed
*/
assert
(
tmo
>
0
.
0
);
if
(
tmo
<
min_t
)
{
if
(
tmo
<
min_t
)
{
timeout
=
&
min_ts
;
timeout
=
&
min_ts
;
}
else
if
(
tmo
>
max_t
)
{
}
else
if
(
tmo
>
max_t
)
{
...
...
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