+5
-3
config/osu.php
+5
-3
config/osu.php
···
18
'achievement' => [
19
'icon_prefix' => env('USER_ACHIEVEMENT_ICON_PREFIX', 'https://assets.ppy.sh/user-achievements/'),
20
],
21
'api' => [
22
// changing the throttle rate doesn't reset any existing timers,
23
// changing the prefix key is the only way to invalidate them.
···
26
'scores_download' => env('API_THROTTLE_SCORES_DOWNLOAD', '10,1,api-scores-download'),
27
],
28
],
29
'avatar' => [
30
'cache_purge_prefix' => env('AVATAR_CACHE_PURGE_PREFIX'),
31
'cache_purge_method' => env('AVATAR_CACHE_PURGE_METHOD'),
···
33
'default' => env('DEFAULT_AVATAR', env('APP_URL', 'http://localhost').'/images/layout/avatar-guest@2x.png'),
34
'storage' => env('AVATAR_STORAGE', 'local-avatar'),
35
],
36
'bbcode' => [
37
// this should be random or a config variable.
38
// ...who am I kidding, this shouldn't even exist at all.
···
190
'processing_queue' => presence(env('SCORES_PROCESSING_QUEUE')) ?? 'osu-queue:score-statistics',
191
'submission_enabled' => get_bool(env('SCORES_SUBMISSION_ENABLED')) ?? true,
192
],
193
'seasonal' => [
194
'contest_id' => get_int(env('SEASONAL_CONTEST_ID')),
195
'ends_at' => env('SEASONAL_ENDS_AT'),
196
],
197
-
'seasons' => [
198
-
'factors_cache_duration' => 60 * (get_float(env('SEASONS_FACTORS_CACHE_DURATION')) ?? 60), // in minutes, converted to seconds
199
-
],
200
'store' => [
201
'notice' => presence(str_replace('\n', "\n", env('STORE_NOTICE') ?? '')),
202
],
···
18
'achievement' => [
19
'icon_prefix' => env('USER_ACHIEVEMENT_ICON_PREFIX', 'https://assets.ppy.sh/user-achievements/'),
20
],
21
+
22
'api' => [
23
// changing the throttle rate doesn't reset any existing timers,
24
// changing the prefix key is the only way to invalidate them.
···
27
'scores_download' => env('API_THROTTLE_SCORES_DOWNLOAD', '10,1,api-scores-download'),
28
],
29
],
30
+
31
'avatar' => [
32
'cache_purge_prefix' => env('AVATAR_CACHE_PURGE_PREFIX'),
33
'cache_purge_method' => env('AVATAR_CACHE_PURGE_METHOD'),
···
35
'default' => env('DEFAULT_AVATAR', env('APP_URL', 'http://localhost').'/images/layout/avatar-guest@2x.png'),
36
'storage' => env('AVATAR_STORAGE', 'local-avatar'),
37
],
38
+
39
'bbcode' => [
40
// this should be random or a config variable.
41
// ...who am I kidding, this shouldn't even exist at all.
···
193
'processing_queue' => presence(env('SCORES_PROCESSING_QUEUE')) ?? 'osu-queue:score-statistics',
194
'submission_enabled' => get_bool(env('SCORES_SUBMISSION_ENABLED')) ?? true,
195
],
196
+
197
'seasonal' => [
198
'contest_id' => get_int(env('SEASONAL_CONTEST_ID')),
199
'ends_at' => env('SEASONAL_ENDS_AT'),
200
],
201
+
202
'store' => [
203
'notice' => presence(str_replace('\n', "\n", env('STORE_NOTICE') ?? '')),
204
],