1
0
Fork 1
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:
carbotaniuman 2021-02-06 11:28:44 -06:00
parent 601be44feb
commit b1ed017bfd
2 changed files with 12 additions and 5 deletions

View file

@ -6,11 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### 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]
### Deprecated
@ -20,6 +17,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### 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
### Added
- [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
- [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-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

View file

@ -57,7 +57,7 @@ fun getServer(
.slidingWindow(50, 20, CircuitBreakerConfig.SlidingWindowType.COUNT_BASED)
.permittedNumberOfCallsInHalfOpenState(10)
.slowCallDurationThreshold(Duration.ofSeconds(20))
.waitDurationInOpenState(Duration.ofMinutes(2))
.waitDurationInOpenState(Duration.ofSeconds(20))
.build()
)