mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
Update timing of breaker
This commit is contained in:
parent
601be44feb
commit
b1ed017bfd
15
CHANGELOG.md
15
CHANGELOG.md
|
@ -6,11 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Added
|
### Added
|
||||||
- [2021-02-06] Add Micrometer and Resilience4J dashboards to defaults [@_tde9]
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- [2021-02-06] Use Resilience4J circuit breaker stats for upstream download panel [@_tde9]
|
|
||||||
- [2021-02-06] Set default docker GC to Shenandoah [@_tde9]
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
|
@ -20,6 +17,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## [2.0.0-rc9] - 2021-02-06
|
||||||
|
### Added
|
||||||
|
- [2021-02-06] Add Micrometer and Resilience4J dashboards to defaults [@_tde9].
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- [2021-02-06] Use Resilience4J circuit breaker stats for upstream download panel [@_tde9].
|
||||||
|
- [2021-02-06] Set default docker GC to Shenandoah [@_tde9].
|
||||||
|
- [2021-02-06] Updated timing of circuit breaker [@carbotaniuman].
|
||||||
|
|
||||||
## [2.0.0-rc8] - 2021-02-04
|
## [2.0.0-rc8] - 2021-02-04
|
||||||
### Added
|
### Added
|
||||||
- [2021-02-04] Installed a circuit breaker in order to save upstream [@carbotaniuman].
|
- [2021-02-04] Installed a circuit breaker in order to save upstream [@carbotaniuman].
|
||||||
|
@ -335,7 +341,8 @@ This release contains many breaking changes! Of note are the changes to the cach
|
||||||
### 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/2.0.0-rc8...HEAD
|
[Unreleased]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc9...HEAD
|
||||||
|
[2.0.0-rc9]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc8...2.0.0-rc9
|
||||||
[2.0.0-rc8]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc7...2.0.0-rc8
|
[2.0.0-rc8]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc7...2.0.0-rc8
|
||||||
[2.0.0-rc7]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc6...2.0.0-rc7
|
[2.0.0-rc7]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc6...2.0.0-rc7
|
||||||
[2.0.0-rc6]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc5...2.0.0-rc6
|
[2.0.0-rc6]: https://gitlab.com/mangadex/mangadex_at_home/-/compare/2.0.0-rc5...2.0.0-rc6
|
||||||
|
|
|
@ -57,7 +57,7 @@ fun getServer(
|
||||||
.slidingWindow(50, 20, CircuitBreakerConfig.SlidingWindowType.COUNT_BASED)
|
.slidingWindow(50, 20, CircuitBreakerConfig.SlidingWindowType.COUNT_BASED)
|
||||||
.permittedNumberOfCallsInHalfOpenState(10)
|
.permittedNumberOfCallsInHalfOpenState(10)
|
||||||
.slowCallDurationThreshold(Duration.ofSeconds(20))
|
.slowCallDurationThreshold(Duration.ofSeconds(20))
|
||||||
.waitDurationInOpenState(Duration.ofMinutes(2))
|
.waitDurationInOpenState(Duration.ofSeconds(20))
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue