monolib: change default cache size to 500

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2024-03-24 20:14:41 +03:00
parent f3f21d8fc8
commit 05b65e25ed
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C

View file

@ -26,7 +26,7 @@ use std::net::TcpStream;
use std::sync::RwLock;
use std::time::Instant;
const CACHE_SIZE: usize = 50;
const CACHE_SIZE: usize = 500;
static SINK: RwLock<Option<Sink>> = RwLock::new(None);
static MD: RwLock<Option<Metadata>> = RwLock::new(None);