1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Merge branch 'TheRedCrystal-master-patch-65248' into 'master'

Fix typo for cache size

See merge request mangadex-pub/mangadex_at_home!83
This commit is contained in:
carbotaniuman 2021-03-19 01:00:12 +00:00
commit 74083bd68e

View file

@ -199,7 +199,7 @@ class MangaDexClient(private val settingsFile: File, databaseFolder: Path, cache
private fun validateSettings(settings: ClientSettings) {
if (settings.maxCacheSizeInMebibytes < 40960) {
throw ClientSettingsException("Config Error: Invalid max cache size, must be >= 20480 MiB (20 GiB)")
throw ClientSettingsException("Config Error: Invalid max cache size, must be >= 40960 MiB (40 GiB)")
}
fun isSecretValid(clientSecret: String): Boolean {