Skip to content

docs: Document 0-disables-auto-recovery behavior for recovery_window_seconds - #1248

Open
Larslllllll wants to merge 1 commit into
Maki-Zeninn:mainfrom
Larslllllll:fix/recovery-window-seconds-doc
Open

docs: Document 0-disables-auto-recovery behavior for recovery_window_seconds#1248
Larslllllll wants to merge 1 commit into
Maki-Zeninn:mainfrom
Larslllllll:fix/recovery-window-seconds-doc

Conversation

@Larslllllll

Copy link
Copy Markdown

Description

Fixes #1000 - The recovery_window_seconds field's 0=disabled behavior wasn't documented, unlike similar fields like failure_threshold.

Changes

Updated the doc comment for recovery_window_seconds to match the style of sibling fields:

  • Added note that 0 means the circuit never auto-recovers
  • Added note that manual intervention via reset_circuit_breaker is required when disabled

Verification

This is a documentation-only change. The code behavior remains unchanged.

Fixes Maki-Zeninn#1000 - The recovery_window_seconds field's 0=disabled behavior
wasn't documented, unlike similar fields like failure_threshold.
This matches the doc style of sibling fields in RouteConfig.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(router-middleware): RouteConfig.recovery_window_seconds doc comment omits its 0-disables-auto-recovery behavior

1 participant