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"))]
|
#[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
|
||||||
let parsed_cet = globals.get::<_, u16>("cache_expiry_time")?;
|
let parsed_cet = globals.get::<_, u16>("cache_expiry_time")?;
|
||||||
|
#[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
|
||||||
let cache_expiry_time = match parsed_cet {
|
let cache_expiry_time = match parsed_cet {
|
||||||
0..=59 => {
|
0..=59 => {
|
||||||
log::error!(
|
log::error!(
|
||||||
|
|
Loading…
Add table
Reference in a new issue