Skip to content
Discussion options

You must be logged in to vote

hi @Pballer

Issue:
The flow can take as much as 10-15 seconds before it actually runs.
~10 seconds "Scheduled"
~10 seconds "Pending"

Is there a way to speed this up?

this is a major reason we added background tasks (advanced example)!

the big difference is that task workers are websocket clients, so you don't have to wait for the poll interval to find the scheduled runs, task workers will pick up published runs almost immediately. like normal, you can call tasks or flows from these tasks that you're serving. so its a way to have stuff run quickly on static infra instead of having a polling worker that submits a request for infra to spin up

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Pballer
Comment options

@zzstoatzz
Comment options

Answer selected by Pballer
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