You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like when you add retryUntil, there's really no difference between a failed job and one that is throttled. Which is ... unfortunate.
I'm currently trying to use this middleware to scrape some servers and I'm running into problems determining which jobs have failed vs which ones have just timed out. I'm not sure if there's a way, but it'd be nice to have jobs that failed with errors or exceptions just fail and not be retried, vs jobs that are just waiting because of the throttling. I'm not sure if it's possible, or if it's a framework issue or not, but I can't seem to figure out how to allow these jobs to be throttled for hours but while not processing jobs that will always fail for hours. (and create log headaches and so forth)
This discussion was converted from issue #28 on April 20, 2021 16:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like when you add retryUntil, there's really no difference between a failed job and one that is throttled. Which is ... unfortunate.
I'm currently trying to use this middleware to scrape some servers and I'm running into problems determining which jobs have failed vs which ones have just timed out. I'm not sure if there's a way, but it'd be nice to have jobs that failed with errors or exceptions just fail and not be retried, vs jobs that are just waiting because of the throttling. I'm not sure if it's possible, or if it's a framework issue or not, but I can't seem to figure out how to allow these jobs to be throttled for hours but while not processing jobs that will always fail for hours. (and create log headaches and so forth)
Beta Was this translation helpful? Give feedback.
All reactions