From 3664bf4a448b8e5924d434a02813b3df324a4439 Mon Sep 17 00:00:00 2001 From: "Fasih M." Date: Thu, 3 Oct 2024 22:18:03 +0500 Subject: [PATCH] multiplication symbol correction --- src/configs/redis.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configs/redis.config.ts b/src/configs/redis.config.ts index 932c7a66..e6e85c78 100644 --- a/src/configs/redis.config.ts +++ b/src/configs/redis.config.ts @@ -8,7 +8,7 @@ export default registerAs( password: process.env.REDIS_PASSWORD, tls: process.env.REDIS_TLS === 'true' ? {} : null, cached: { - ttl: 5 & 1000, // 5 mins + ttl: 5 * 1000, // 5 mins max: 10, }, })