From 28f40e97609d4da14c9d7c1528aa6cf4f84c1b77 Mon Sep 17 00:00:00 2001 From: Charles T Date: Tue, 28 Nov 2023 17:36:14 +0800 Subject: [PATCH] Update (stat refresh time) --- app/View/Composers/StatsComposer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/View/Composers/StatsComposer.php b/app/View/Composers/StatsComposer.php index ef82fc2..915e3de 100644 --- a/app/View/Composers/StatsComposer.php +++ b/app/View/Composers/StatsComposer.php @@ -11,7 +11,7 @@ class StatsComposer public function compose(View $view) { // Retrieve the count from the cache or count and store it if not present - $tools_count = Cache::remember('tools_count', 10800, function () { + $tools_count = Cache::remember('tools_count', 600, function () { return AiTool::count(); });