Skip to content

Navigation Menu

Sign in
Sign up

Retry without error #1036

Answered by bgentry
vblcc asked this question in Q&A
Sep 10, 2025 · 1 comments · 1 reply
Discussion options

Hi,

Is there a recommended method to retry jobs without returning (or logging) an error?
Our use case is polling a system until a resource is ready. That leads to a lot of

river: JobExecutor: Job errored; retrying

log lines.

This would also be useful when shutting down and work fails because of "context canceled".

If there was a way to say "discard (and don't count) this attempt and go again" that would be perfect.

Thanks!

You must be logged in to vote

We should probably revisit whether it makes sense for River to log an error when a job fails as that's arguably a normal part of the system's behavior and not indicative of anything wrong or broken with River itself.

That being said, I believe the snooze feature is exactly what you're looking for!

Replies: 1 comment 1 reply

Comment options

We should probably revisit whether it makes sense for River to log an error when a job fails as that's arguably a normal part of the system's behavior and not indicative of anything wrong or broken with River itself.

That being said, I believe the snooze feature is exactly what you're looking for!

You must be logged in to vote
1 reply
Comment options

Ah, how could I have missed that!

Many thanks!

Answer selected by vblcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /