abdulahad5112 alamin655 commited on
Commit
851ea31
β€’
1 Parent(s): fbf7363

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

Browse files
Files changed (1) hide show
  1. src/config/parser.rs +1 -0
src/config/parser.rs CHANGED
@@ -98,6 +98,7 @@ impl Config {
98
 
99
  #[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
100
  let parsed_cet = globals.get::<_, u16>("cache_expiry_time")?;
 
101
  let cache_expiry_time = match parsed_cet {
102
  0..=59 => {
103
  log::error!(
 
98
 
99
  #[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
100
  let parsed_cet = globals.get::<_, u16>("cache_expiry_time")?;
101
+ #[cfg(any(feature = "redis-cache", feature = "memory-cache"))]
102
  let cache_expiry_time = match parsed_cet {
103
  0..=59 => {
104
  log::error!(