Skip to main content

should_count_as_failure

Function should_count_as_failure 

Source
pub fn should_count_as_failure(outcome: FetchOutcome) -> bool
Expand description

この結果を「連続失敗」としてカウントすべきか。

Pending は失敗ではない。 取得中なだけなので、 サーキットブレーカーを進めてはいけない。