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

Fix typo for cache size

This commit is contained in:
Space 2021-03-13 20:35:04 +00:00
parent 4fed127e80
commit ae49f0098a

View file

@ -199,7 +199,7 @@ class MangaDexClient(private val settingsFile: File, databaseFolder: Path, cache
private fun validateSettings(settings: ClientSettings) { private fun validateSettings(settings: ClientSettings) {
if (settings.maxCacheSizeInMebibytes < 40960) { 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 { fun isSecretValid(clientSecret: String): Boolean {