mirror of
https://github.com/cloudflare/pingora.git
synced 2024-09-20 02:31:35 +02:00
Make pop_closed
pub, to simplify DIY drains
Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
This commit is contained in:
parent
7ce6f4ac1c
commit
069a792c91
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ impl<S> ConnectionPool<S> {
|
|||
debug!("evict fd: {} from key {}", meta.id, meta.key);
|
||||
}
|
||||
|
||||
fn pop_closed(&self, meta: &ConnectionMeta) {
|
||||
pub fn pop_closed(&self, meta: &ConnectionMeta) {
|
||||
// NOTE: which of these should be done first?
|
||||
self.pop_evicted(meta);
|
||||
self.lru.pop(&meta.id);
|
||||
|
|
Loading…
Reference in a new issue