-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSunrise.Config.Production.json.example
More file actions
63 lines (63 loc) · 1.5 KB
/
Sunrise.Config.Production.json.example
File metadata and controls
63 lines (63 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"Note": "Don't forget to remove .example at the end of this file for it to work!",
"General": {
"WelcomeMessage": "Welcome to Sunrise!",
"MedalMirrorUrl": "https://raw.githubusercontent.com/SunriseCommunity/Server-Assets/main/medals/",
"IgnoreBeatmapRanking": false,
"IncludeUserTokenInLogs": false,
"UseCustomBackgrounds": true,
"OnMaintenance": false,
"CountryChangeCooldownInDays": 90,
"UsernameChangeCooldownInDays": 30,
"RateLimit": {
"CallsPerWindow": 200,
"Window": 10,
"QueueLimit": 20
},
"UseNewPerformanceCalculationAlgorithm": true,
"EnforceLatestClientVersion": true
},
"BeatmapHype": {
"UserHypesWeekly": 10,
"HypesToStartHypeTrain": 2,
"AllowMultipleHypeFromSameUser": false
},
"Moderation": {
"BannablePPThreshold": 2500,
"BannedIps": []
},
"Database": {
"SlowQueryThresholdMilliseconds": 1000
},
"Files": {
"DataPath": "./Data",
"BannedUsernamesName": "banned-usernames.txt"
},
"Redis": {
"CacheLifeTime": 600,
"UseCache": true,
"UseRedisAsSecondCachingForDatabase": true,
"ClearCacheOnStartup": false
},
"Hangfire": {
"UseHangfireServer": true,
"MaxDailyBackupCount": 14
},
"Telemetry": {
"UseMetrics": true,
"Logging": {
"UseW3CFileLogging": false
}
},
"Bot": {
"Username": "Sunshine Bot",
"Prefix": "!"
},
"API": {
"RateLimit": {
"CallsPerWindow": 100,
"Window": 30
},
"TokenExpiresIn": 3600
}
}