forked from varnishcache/varnish-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only set new lurker destination ban if we already had one.
Without this we could start running ban_lurker_test_ban with an empty list of bans to test, causing a lot of unnecessary ban and oh mutex contention on every ban lurker invocation until the REQ ban triggering it is gone. Also don't call ban_lurker_test_ban when our destination ban is the same as the one being tested. This would be wasted work. Adjust the c00049.vtc test case for the bans now not being unnecessarily tested.
- Loading branch information
1 parent
9b31cf3
commit 93d8050
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters