Start the release train

This commit is contained in:
carbotaniuman 2020-08-10 17:05:53 -05:00
parent 3dc6a5d8ae
commit cbf509fced
2 changed files with 15 additions and 7 deletions

View file

@ -6,22 +6,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added ### Added
- [2020-07-13] Added reloading client setting without stopping client by [@radonbark].
### Changed ### Changed
- [2020-07-29] Disallow unsafe ports [@m3ch_mania].
### Deprecated ### Deprecated
### Removed ### 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 ### Fixed
- [2020-07-29] Fixed stupid libsodium bugs [@carbotaniuman]. - [2020-07-29] Fixed stupid libsodium bugs [@carbotaniuman].
- [2020-07-29] Fixed issues from the Great Cache Propagation [@carbotaniuman]. - [2020-07-29] Fixed issues from the Great Cache Propagation [@carbotaniuman].
- [2020-08-03] Fix `client_hostname` stuff [@carbotaniuman]. - [2020-08-03] Fix `client_hostname` stuff [@carbotaniuman].
### Security
## [1.1.5] - 2020-07-05 ## [1.1.5] - 2020-07-05
### Added ### Added
- [2020-07-05] Added basic graph creation interface to dash [@RedMatriz]. - [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 ### Fixed
- [2020-06-11] Tweaked logging configuration to reduce log file sizes by [@carbotaniuman]. - [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.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.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 [1.1.3]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.1.2...1.1.3

View file

@ -113,7 +113,7 @@ class MangaDexClient(private val clientSettingsFile: String) {
try { try {
cache = DiskLruCache.open( cache = DiskLruCache.open(
File("cache"), 1, 1, 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 { cache.get("statistics")?.use {
try { try {
@ -387,7 +387,7 @@ class MangaDexClient(private val clientSettingsFile: String) {
return return
} }
cache.maxSize = newSettings.maxCacheSizeInMebibytes cache.maxSize = (newSettings.maxCacheSizeInMebibytes * 1024 * 1024 * 0.8).toLong()
// Setting loaded without issue. Figure out // Setting loaded without issue. Figure out
// if there are changes that require a restart // if there are changes that require a restart