Tiny fix NoAvailableWorkers being a RetryError (#16896)
This commit is contained in:
@@ -46,8 +46,6 @@ impl BackoffCalculator {
|
|||||||
|
|
||||||
#[derive(Debug, thiserror::Error)]
|
#[derive(Debug, thiserror::Error)]
|
||||||
pub enum RetryError {
|
pub enum RetryError {
|
||||||
#[error("no available workers")]
|
|
||||||
NoAvailableWorkers,
|
|
||||||
#[error("maximum retry attempts exceeded")]
|
#[error("maximum retry attempts exceeded")]
|
||||||
MaxRetriesExceeded,
|
MaxRetriesExceeded,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user