-
Notifications
You must be signed in to change notification settings - Fork 178
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!
All reactions
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
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!
All reactions
-
❤️ 1
Ah, how could I have missed that!
Many thanks!
All reactions
-
🚀 1