Skip to content

Commit

Permalink
add divisions cache key to .env
Browse files Browse the repository at this point in the history
  • Loading branch information
venix12 committed Jan 20, 2025
1 parent c6ce540 commit d9c26a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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=

Expand Down
2 changes: 1 addition & 1 deletion config/osu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') ?? '')),
Expand Down

0 comments on commit d9c26a3

Please sign in to comment.