Skip to content
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

(Cancel running functions) This method disable #1276

Open
ethanshi0884 opened this issue Apr 14, 2024 · 1 comment
Open

(Cancel running functions) This method disable #1276

ethanshi0884 opened this issue Apr 14, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ethanshi0884
Copy link

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

@ethanshi0884 ethanshi0884 added the bug Something isn't working label Apr 14, 2024
Copy link

linear bot commented Apr 14, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants