Start the release train
This commit is contained in:
parent
3dc6a5d8ae
commit
cbf509fced
18
CHANGELOG.md
18
CHANGELOG.md
|
@ -6,22 +6,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- [2020-07-13] Added reloading client setting without stopping client by [@radonbark].
|
||||
|
||||
### Changed
|
||||
- [2020-07-29] Disallow unsafe ports [@m3ch_mania].
|
||||
|
||||
### Deprecated
|
||||
|
||||
### Removed
|
||||
|
||||
### Fixed
|
||||
|
||||
### Security
|
||||
|
||||
## [1.2.0] - 2020-08-10
|
||||
### Added
|
||||
- [2020-07-13] Added reloading client setting without stopping client by [@radonbark].
|
||||
|
||||
### Changed
|
||||
- [2020-07-29] Disallow unsafe ports [@m3ch_mania].
|
||||
|
||||
### Fixed
|
||||
- [2020-07-29] Fixed stupid libsodium bugs [@carbotaniuman].
|
||||
- [2020-07-29] Fixed issues from the Great Cache Propagation [@carbotaniuman].
|
||||
- [2020-08-03] Fix `client_hostname` stuff [@carbotaniuman].
|
||||
|
||||
### Security
|
||||
|
||||
## [1.1.5] - 2020-07-05
|
||||
### Added
|
||||
- [2020-07-05] Added basic graph creation interface to dash [@RedMatriz].
|
||||
|
@ -213,7 +220,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
### Fixed
|
||||
- [2020-06-11] Tweaked logging configuration to reduce log file sizes by [@carbotaniuman].
|
||||
|
||||
[Unreleased]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.5...HEAD
|
||||
[Unreleased]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.2.0...HEAD
|
||||
[1.2.0]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.5...1.2.0
|
||||
[1.1.5]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.4...1.1.5
|
||||
[1.1.4]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.3...1.1.4
|
||||
[1.1.3]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.2...1.1.3
|
||||
|
|
|
@ -113,7 +113,7 @@ class MangaDexClient(private val clientSettingsFile: String) {
|
|||
try {
|
||||
cache = DiskLruCache.open(
|
||||
File("cache"), 1, 1,
|
||||
clientSettings.maxCacheSizeInMebibytes * 1024 * 1024 /* MiB to bytes */
|
||||
(clientSettings.maxCacheSizeInMebibytes * 1024 * 1024 * 0.8).toLong() /* MiB to bytes */
|
||||
)
|
||||
cache.get("statistics")?.use {
|
||||
try {
|
||||
|
@ -387,7 +387,7 @@ class MangaDexClient(private val clientSettingsFile: String) {
|
|||
return
|
||||
}
|
||||
|
||||
cache.maxSize = newSettings.maxCacheSizeInMebibytes
|
||||
cache.maxSize = (newSettings.maxCacheSizeInMebibytes * 1024 * 1024 * 0.8).toLong()
|
||||
|
||||
// Setting loaded without issue. Figure out
|
||||
// if there are changes that require a restart
|
||||
|
|
Loading…
Reference in a new issue