refactor image cache

This commit is contained in:
Ren Amamiya
2026-04-10 08:50:01 +07:00
parent 09c8245465
commit cd2484a256
6 changed files with 165 additions and 19 deletions

View File

@@ -15,6 +15,9 @@ pub const KEYRING: &str = "Coop Safe Storage";
/// Default timeout for subscription
pub const TIMEOUT: u64 = 2;
/// Default image cache size
pub const IMAGE_CACHE_SIZE: usize = 20;
/// Default delay for searching
pub const FIND_DELAY: u64 = 600;