[
https://issues.apache.org/jira/browse/SLING-8863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Schneider resolved SLING-8863.
----------------------------------------
Resolution: Fixed
> Only trigger circuit breaker once
> ---------------------------------
>
> Key: SLING-8863
> URL: https://issues.apache.org/jira/browse/SLING-8863
> Project: Sling
> Issue Type: Improvement
> Components: Content Distribution
> Affects Versions: Content Distribution Journal Core 0.1.4
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Priority: Major
> Fix For: Content Distribution Journal Core 0.1.6
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently we reset the number of errors and trigger the JournalAvailability
> checks for each error event we receive.
> I think it makes sense to only trigger once when we reach the minimal number
> of errors to trigger. We should also only reset the number of errors once
> the circuit is closed again.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)