Add cache for getTopUsers

See #147
This commit is contained in:
Nanobyte
2020-10-06 23:25:11 +02:00
parent 7dcdc883e4
commit 25b91af8bc
3 changed files with 117 additions and 61 deletions

View File

@@ -22,5 +22,6 @@
"mode": "development",
"readOnly": false,
"webhooks": [],
"categoryList": ["sponsor", "intro", "outro", "interaction", "selfpromo", "music_offtopic"] // List of supported categories any other category will be rejected
"categoryList": ["sponsor", "intro", "outro", "interaction", "selfpromo", "music_offtopic"], // List of supported categories any other category will be rejected
"getTopUsersCacheTimeMinutes": 5 // cacheTime for getTopUsers result in minutes
}