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
When I run it on my own computer, this method is valid and can be canceled, but when I run it in the production environment, it cannot run. Moreover, this function ran normally in the production environment yesterday, but it cannot be canceled starting today. No matter how I modify it, it doesn't work
The text was updated successfully, but these errors were encountered:
Adding my experiences here, cancellation doesn't seem to work on the hosted version of the app. Locally with the development container version, cancellation works great, but I cannot get it to work properly in production. I've tried both:
An update from my side, turns out I didn't know you needed to re-sync the app when workflow changes are deployed. When I re-sync'd the cancellation event now maps properly to the workflow in question, and cancellation works.
Describe the bug
(Cancel running functions) This method disable.
inngest.createFunction(
{
id: "sync-contacts",
cancelOn: [{ event: "app/user.deleted", match: "data.userId" }],
}
// ...
);
didn't cancel at the time that needed to cancel.
When I run it on my own computer, this method is valid and can be canceled, but when I run it in the production environment, it cannot run. Moreover, this function ran normally in the production environment yesterday, but it cannot be canceled starting today. No matter how I modify it, it doesn't work
The text was updated successfully, but these errors were encountered: