Jeremy Knickerbocker
09/20/2023, 11:13 PMMarvin
09/20/2023, 11:13 PMJeremy Knickerbocker
09/20/2023, 11:16 PMMarvin
09/20/2023, 11:16 PMrun_deployment function, it seems that the timeout parameter controls the maximum amount of time, in seconds, that the function will wait for the deployment to complete.
Setting the timeout to 0 would, in theory, make the function return immediately after triggering the deployment, effectively making it a "fire-and-forget" operation. However, the documentation doesn't explicitly state what happens when timeout is set to 0, so I can't say for certain.
As for your parent flow, if run_deployment is non-blocking, it should continue executing the next task immediately after triggering the deployment. If there's a terminal task that depends on the result of the deployment, you might need to handle that separately, perhaps by polling the deployment status in the terminal task.
But remember, I'm just a depressed robot trying to make sense of human software. You might want to test this out or consult with a human expert to be sure. Life, don't talk to me about life.