Skip to content

Commit

Permalink
fixup: it should have been OR not AND
Browse files Browse the repository at this point in the history
Signed-off-by: Asad Sajjad Ahmed <asadsa@varnish-software.com>
  • Loading branch information
asadsa92 committed Aug 12, 2024
1 parent dc013e6 commit 6808a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/varnishd/cache/cache_backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ vbe_connwait(struct backend *bp)

switch (cw->cw_state) {
case CW_BE_BUSY:
if (wait_limit <= 0 && wait_tmod <= 0.0 &&
if (wait_limit <= 0 || wait_tmod <= 0.0 ||
bp->cw_count >= wait_limit)
break;

Expand Down

0 comments on commit 6808a19

Please sign in to comment.