Skip to content

Commit feae7d5

Browse files
committed
Return a 503 instead of 429 on sequencing errors
1 parent e0ba976 commit feae7d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/generic_log_worker/src/batcher_do.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl GenericBatcher {
154154
} else {
155155
// Failed to sequence this entry, either due to an error
156156
// submitting the batch or rate limiting at the Sequencer.
157-
Response::error("rate limited", 429)
157+
Response::error("sequencing error", 503)
158158
};
159159
*self.in_flight.borrow_mut() -= 1;
160160

0 commit comments

Comments
 (0)