Tiny fix NoAvailableWorkers being a RetryError (#16896)

This commit is contained in:
fzyzcjy
2026-01-12 10:53:17 +08:00
committed by GitHub
parent 5b7bed7ca4
commit a1c48943d7

View File

@@ -46,8 +46,6 @@ impl BackoffCalculator {
#[derive(Debug, thiserror::Error)]
pub enum RetryError {
#[error("no available workers")]
NoAvailableWorkers,
#[error("maximum retry attempts exceeded")]
MaxRetriesExceeded,
}