From a2d96a52775cbb945fd28409a36af5d581f16715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehedi=20Hasan=20=20=E2=9A=A1=EF=B8=8F?= Date: Wed, 6 Nov 2024 12:44:07 +0600 Subject: [PATCH] cache time update to 2 days --- app/Utils/Cache.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Utils/Cache.php b/app/Utils/Cache.php index da983836..8409d821 100644 --- a/app/Utils/Cache.php +++ b/app/Utils/Cache.php @@ -19,8 +19,8 @@ public static function get( array $args ): array { return []; } - public static function set( array $args, array $data ): bool { - return Transient::set( self::key( $args ), $data, MINUTE_IN_SECONDS * 5 ); + public static function set( array $args, array $data, int $expiration = DAY_IN_SECONDS * 2 ): bool { + return Transient::set( self::key( $args ), $data, $expiration ); } public static function clear( array $args ): bool {