-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skip ActiveJob retrying for ProcessInstallmentsJob #175
Comments
Hi @aldesantis. I may not be understanding correctly, but if we remove the default Is this configuration also preventing the ProcessInstallmentsJob from retrying the failed installment? I suppose there might be a use case still if this is so. Can you please clarify this idea? |
@ikraamg hey, unfortunately we'll still need
Note that the mechanism described in #2 will also cover any errors described in #1: in other words, if This ticket is about disabling ActiveJob's native retry mechanism so that solidus_subscriptions can do its job of retrying failed installments every day until they are processed successfully.
|
@aldesantis Thanks for the detailed explanation! I see that I completely misunderstood what was required in this ticket. In this case, I believe a simple |
@ikraamg I think it’s safe to discard on StandardError, because the installment will be retried on the next day anyway. We do need to make sure |
Since ProcessInstallmentsJob is retried daily in any case, we should make sure to disable the default retry logic, to avoid creating tons of canceled orders in case something goes wrong.
The text was updated successfully, but these errors were encountered: