Update readme
This commit is contained in:
parent
1af4455be6
commit
137414fa77
|
@ -8,7 +8,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- [2020-06-16] Changed log level of response timings to INFO by [@lflare].
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
|
@ -18,6 +17,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## [1.0.0-RC18] - 2020-06-16
|
||||||
|
### Changed
|
||||||
|
- [2020-06-16] Changed log level of response timings to INFO by [@lflare].
|
||||||
|
- [2020-06-16] Added server ping logging [@carbotaniuman].
|
||||||
|
|
||||||
## [1.0.0-RC17] - 2020-06-15
|
## [1.0.0-RC17] - 2020-06-15
|
||||||
### Added
|
### Added
|
||||||
- [2020-06-15] Added logging of backend assigned URL to logs by [@lflare].
|
- [2020-06-15] Added logging of backend assigned URL to logs by [@lflare].
|
||||||
|
@ -93,7 +97,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.0.0-rc17...HEAD
|
[Unreleased]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc18...HEAD
|
||||||
|
[1.0.0-rc18]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc17...1.0.0-rc18
|
||||||
[1.0.0-rc17]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc16...1.0.0-rc17
|
[1.0.0-rc17]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc16...1.0.0-rc17
|
||||||
[1.0.0-rc16]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc15...1.0.0-rc16
|
[1.0.0-rc16]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc15...1.0.0-rc16
|
||||||
[1.0.0-rc15]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc14...1.0.0-rc15
|
[1.0.0-rc15]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/1.0.0-rc14...1.0.0-rc15
|
||||||
|
|
|
@ -133,8 +133,8 @@ public class MangaDexClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
long currentBytesSent = statistics.get().getBytesSent() - lastBytesSent;
|
long currentBytesSent = statistics.get().getBytesSent() - lastBytesSent;
|
||||||
if (clientSettings.getMaxBandwidthMibPerHour() != 0
|
if (clientSettings.getMaxBandwidthMibPerHour() != 0 && clientSettings.getMaxBandwidthMibPerHour() * 1024
|
||||||
&& clientSettings.getMaxBandwidthMibPerHour() * 1024 * 1024 /* MiB to bytes */ < currentBytesSent) {
|
* 1024 /* MiB to bytes */ < currentBytesSent) {
|
||||||
if (LOGGER.isInfoEnabled()) {
|
if (LOGGER.isInfoEnabled()) {
|
||||||
LOGGER.info("Shutting down server as hourly bandwidth limit reached");
|
LOGGER.info("Shutting down server as hourly bandwidth limit reached");
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@ class ImageServer(private val cache: DiskLruCache, private val statistics: Atomi
|
||||||
LOGGER.info("Request for $sanitizedUri cached by browser")
|
LOGGER.info("Request for $sanitizedUri cached by browser")
|
||||||
}
|
}
|
||||||
|
|
||||||
val lastModified = snapshot.getString(2)
|
val lastModified = imageDatum.lastModified
|
||||||
snapshot.close()
|
snapshot.close()
|
||||||
|
|
||||||
Response(Status.NOT_MODIFIED)
|
Response(Status.NOT_MODIFIED)
|
||||||
|
|
Loading…
Reference in a new issue