mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-07 15:52:10 -04:00
BUG/MINOR: 51d: Releases workset back to pool.
The workset is now released correctly when a cache hit occurs. This should be backported to 1.6.
This commit is contained in:
parent
c9dfa24808
commit
6baceb9f64
1 changed files with 1 additions and 0 deletions
|
|
@ -384,6 +384,7 @@ static int _51d_fetch(const struct arg *args, struct sample *smp, const char *kw
|
|||
lru = lru64_get(_51d_req_hash(args, ws),
|
||||
_51d_lru_tree, (void*)args, 0);
|
||||
if (lru && lru->domain) {
|
||||
fiftyoneDegreesWorksetPoolRelease(global._51degrees.pool, ws);
|
||||
_51d_retrieve_cache_entry(smp, lru);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue