Fixed minor typo with threads error logging
This commit is contained in:
parent
f43e2a2055
commit
964c4afb4b
|
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- [2020-06-17] Fixed minor typo with threads error logging by [@lflare].
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
|
@ -285,7 +285,7 @@ public class MangaDexClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.getThreads() < 4) {
|
if (settings.getThreads() < 4) {
|
||||||
MangaDexClient.dieWithError("Config Error: Invalid number of threads, must be >= 8");
|
MangaDexClient.dieWithError("Config Error: Invalid number of threads, must be >= 4");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (settings.getMaxBandwidthMibPerHour() < 0) {
|
if (settings.getMaxBandwidthMibPerHour() < 0) {
|
||||||
|
|
Loading…
Reference in a new issue