From 851ea314a7b9e85fa718065dd5fd0c74ddfefa55 Mon Sep 17 00:00:00 2001 From: abdulahad5112 <123822052+abdulahad5112@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:44:31 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20parsed=5Fcet=20not=20found=20in?= =?UTF-8?q?=20scope=20error=20when=20building=20the=20app=20with=20the=20n?= =?UTF-8?q?o-cache=20feature=20#498=20(#502)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: alamin655 <129589283+alamin655@users.noreply.github.com> --- src/config/parser.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/parser.rs b/src/config/parser.rs index 20a4a1a..63329c5 100644 --- a/src/config/parser.rs +++ b/src/config/parser.rs @@ -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!(