serge
serge11mo ago

I saw that there is a sleep node, Sleep

I saw that there is a sleep node, Sleep (Pauses the execution for a specified amount of time).If we pause the execution for 10 minutes, does the 10 minutes count as execution time or not?
3 Replies
Gaurav Chadha
Gaurav Chadha11mo ago
Hi @serge 37, Yes since the Sleep node has
JavaScript Promise(resolve => setTimeout(resolve, 1000));
JavaScript Promise(resolve => setTimeout(resolve, 1000));
(JavaScript version of sleep) it will be counted towards execution time, as the workflow is executing when the code runs.
serge
serge11mo ago
thank you so is there any node to wait for example, 30 minutes, then continue like that and save some execution
Gaurav Chadha
Gaurav Chadha11mo ago
No, if the node is waiting and using a timeout, it will be counted towards execution time. If you don'e want the node to execute at all, you may use skip node.