feat: totally updated cache structure using lru crate instead of moka (i.e., using simpler crate)
This commit is contained in:
parent
2477c6bf1b
commit
07d3accb91
10 changed files with 157 additions and 132 deletions
|
|
@ -31,7 +31,3 @@ pub mod H3 {
|
|||
#[cfg(feature = "sticky-cookie")]
|
||||
/// For load-balancing with sticky cookie
|
||||
pub const STICKY_COOKIE_NAME: &str = "rpxy_srv_id";
|
||||
|
||||
pub const MAX_CACHE_ENTRY: u64 = 10_000;
|
||||
// TODO: max cache size per entry
|
||||
// TODO: max cache size in total
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue