commit | d56db11447658b8e2082e590e293b19f2766b597 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Apr 19 08:56:22 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 19 15:24:33 2021 +0200 |
tree | b3f8dcb9dd88f3f3f0a3b1483b9106de1cb1b890 | |
parent | fa19d20ac4fbfc04441143128108f5d8807bf983 [diff] |
CLEANUP: pools: make the local cache allocator fall back to the shared cache Now when pool_get_from_local_cache() fails, it automatically falls back to pool_get_from_shared_cache(), which used to always be done in pool_get_from_cache(). Thus now the API is simpler as we always allocate and free from/to the local caches.