From ae49f0098a2d174b1fbe3a7f5be8707b90d295a7 Mon Sep 17 00:00:00 2001 From: Space Date: Sat, 13 Mar 2021 20:35:04 +0000 Subject: [PATCH] Fix typo for cache size --- src/main/kotlin/mdnet/MangaDexClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/mdnet/MangaDexClient.kt b/src/main/kotlin/mdnet/MangaDexClient.kt index dd36608..321418f 100644 --- a/src/main/kotlin/mdnet/MangaDexClient.kt +++ b/src/main/kotlin/mdnet/MangaDexClient.kt @@ -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 {