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
Includes-commit: 069a792c91
Replicated-from: https://github.com/cloudflare/pingora/pull/209
Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
This commit is contained in:
parent
6229cc555c
commit
b493ac0c95
2 changed files with 2 additions and 2 deletions
2
.bleep
2
.bleep
|
@ -1 +1 @@
|
|||
547ccfbe180fd88e07d229c771fa66479eaabedb
|
||||
64c5e3fa4a538348e25a1ac5fe18245fc6d1eefc
|
|
@ -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