Skip to content

Why are these throttled messages executing while earlier message has failed #1256

Answered by darwin67
mike-hogan asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the table, that makes things a lot more clear now.

I think I have kinda restated when you said above, and hopefully correctly. Assuming I have, I guess my question is, can Inngest block and retry on a failed event until success or dead letter?

Answering your question, yes it can.

It seems you're splitting the job into multiple functions, so what I'd recommend would be either put all the steps within a function or to have a function trigger another when it's done with it's job, and not send out the events all at once.
Basically, when you read the code, it should be traceable in order by the eye, just like how you'd expect it to run sequentially.

There are 3 ways to do it with …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@mike-hogan
Comment options

@darwin67
Comment options

@mike-hogan
Comment options

@darwin67
Comment options

Answer selected by mike-hogan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants