Co-authored-by: alamin655 <129589283+alamin655@users.noreply.github.com>
This commit is contained in:
parent
fbf73634ee
commit
851ea314a7
1 changed files with 1 additions and 0 deletions
|
@ -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!(
|
||||
|
|
Loading…
Add table
Reference in a new issue