From d9c26a34ef1b77f0bf32e0209fb48872a04299fb Mon Sep 17 00:00:00 2001 From: Venix <30481900+venix12@users.noreply.github.com> Date: Mon, 20 Jan 2025 23:40:36 +0100 Subject: [PATCH] add divisions cache key to .env --- .env.example | 2 +- config/osu.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 178701fa43b..b6d12817dfe 100644 --- a/.env.example +++ b/.env.example @@ -292,7 +292,7 @@ CLIENT_CHECK_VERSION=false # SCORES_SUBMISSION_ENABLED=1 # SCORE_INDEX_MAX_ID_DISTANCE=10_000_000 -# SEASONS_FACTORS_CACHE_DURATION=60 +# SEASONS_DIVISIONS_CACHE_DURATION=60 # BANCHO_BOT_USER_ID= diff --git a/config/osu.php b/config/osu.php index 05c892e3a08..29c201dc882 100644 --- a/config/osu.php +++ b/config/osu.php @@ -195,7 +195,7 @@ 'ends_at' => env('SEASONAL_ENDS_AT'), ], 'seasons' => [ - 'divisions_cache_duration' => 60 * (get_float(env('DIVISIONS_CACHE_DURATION')) ?? 60), // in minutes, converted to seconds + 'divisions_cache_duration' => 60 * (get_float(env('SEASONS_DIVISIONS_CACHE_DURATION')) ?? 60), // in minutes, converted to seconds ], 'store' => [ 'notice' => presence(str_replace('\n', "\n", env('STORE_NOTICE') ?? '')),