diff --git a/src/bots_manager/mod.rs b/src/bots_manager/mod.rs index c68f235..2796f70 100644 --- a/src/bots_manager/mod.rs +++ b/src/bots_manager/mod.rs @@ -27,22 +27,22 @@ use self::internal::set_webhook; pub static USER_ACTIVITY_CACHE: Lazy> = Lazy::new(|| { Cache::builder() - .time_to_idle(Duration::from_secs(5 * 60)) - .max_capacity(2048) + .time_to_idle(Duration::from_secs(30 * 60)) + .max_capacity(4096) .build() }); pub static USER_LANGS_CACHE: Lazy>> = Lazy::new(|| { Cache::builder() - .time_to_idle(Duration::from_secs(5 * 60)) - .max_capacity(2048) + .time_to_idle(Duration::from_secs(30 * 60)) + .max_capacity(4096) .build() }); pub static CHAT_DONATION_NOTIFICATIONS_CACHE: Lazy> = Lazy::new(|| { Cache::builder() .time_to_idle(Duration::from_secs(24 * 60 * 60)) - .max_capacity(2048) + .max_capacity(4098) .build() });