From d229ef18a87cdf507469aa45d6fbc3b94d2b0a43 Mon Sep 17 00:00:00 2001 From: WispX Date: Fri, 17 Dec 2021 23:39:22 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=B0=B8=E4=B9=85=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E7=B3=BB=E7=BB=9F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils.php b/app/Utils.php index c61bfbef..0a8f1359 100644 --- a/app/Utils.php +++ b/app/Utils.php @@ -20,7 +20,7 @@ class Utils public static function config(string $name = '', mixed $default = null): mixed { /** @var Collection $configs */ - $configs = Cache::remember('configs', 86400, function () { + $configs = Cache::rememberForever('configs', function () { return Config::query()->pluck('value', 'name')->transform(function ($value, $key) { switch ($key) { case ConfigKey::IsAllowGuestUpload: