0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-12-22 12:28:21 -05:00

🐛 parsed_cet not found in scope error when building the app with the no-cache feature #498 (#502)

Co-authored-by: alamin655 <129589283+alamin655@users.noreply.github.com>
This commit is contained in:
abdulahad5112 2024-01-30 12:44:31 +05:30 committed by GitHub
parent fbf73634ee
commit 851ea314a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,6 +98,7 @@ impl Config {
#[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
let parsed_cet = globals.get::<_, u16>("cache_expiry_time")?;
#[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
let cache_expiry_time = match parsed_cet {
0..=59 => {
log::error!(