-
Notifications
You must be signed in to change notification settings - Fork 21
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
Optimize the process notifications scheduled task #316
Comments
Hi @GshopMaxime, apologies for the late response, |
Closing this issue for lack of activity. Assuming the aforementioned released solved this issue. |
Describe the bug
When a scheduled task in Shopware fails, the task status is updated accordingly, but the scheduled task is never restarted.
In a production environment this means that the process notifications task suddenly stops updating payment statuses.
Our client has to notify us and we have to manually edit the task status in the database. The whole automated logistics process is tied to the payment status, which means precious time is lost.
Versions
Shopware version: 6.4.15.1
Plugin version: 3.7.0
Possible solutions
-Quick and dirty:
Add a second scheduled task that is responsible for restarting the first if it fails.
-Optimal:
Use the message worker to process the notifications one by one. When one of the notifications fails, this won't affect the scheduled tasks status. Furthermore a failed message is automatically retried.
The text was updated successfully, but these errors were encountered: