Adroit
Adroit6d ago

"Executions" during sleep

Hi all. unexpectedly, I just ran out of executions on my free cloud plan, right at the beginning of the month, I guess because I was repeatedly testing a script while developing it today. I can't find where to see the list of what past actions cost how many executions, but before today I was much closer to 0 than 1000. The script I was testing runs for 5 minutes, which is a lot of seconds, but most of that time is spent sleeping, waiting for time to pass before querying an external service. No processing is happening during this time, so does Windmill stop counting executions while sleeping? If not -- I'm using javascript's setTimeout() to sleep, is there something else I should use?
2 Replies
rubenf
rubenf5d ago
you can use a flow that sleep between steps but a script that sleep still occupies a worker
Adroit
AdroitOP5d ago
hmm alright, will have to clone and split my script then

Did you find this page helpful?