mirror of
https://github.com/ivabus/lonelyradio
synced 2024-11-10 02:25:17 +03:00
monolib: change default cache size to 500
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
f3f21d8fc8
commit
05b65e25ed
|
@ -26,7 +26,7 @@ use std::net::TcpStream;
|
||||||
use std::sync::RwLock;
|
use std::sync::RwLock;
|
||||||
use std::time::Instant;
|
use std::time::Instant;
|
||||||
|
|
||||||
const CACHE_SIZE: usize = 50;
|
const CACHE_SIZE: usize = 500;
|
||||||
|
|
||||||
static SINK: RwLock<Option<Sink>> = RwLock::new(None);
|
static SINK: RwLock<Option<Sink>> = RwLock::new(None);
|
||||||
static MD: RwLock<Option<Metadata>> = RwLock::new(None);
|
static MD: RwLock<Option<Metadata>> = RwLock::new(None);
|
||||||
|
|
Loading…
Reference in a new issue