Set channel timeout
Set the timeout for the current script, must be set inside a function, usually main().
-- set the channel timeout to 2 minutes -- must be set inside a function, usually within main() function main() iguana.setTimeout(120) end
iguana.setTimeout() to set the timeout for the current script (the default is 5 minutes). The
setTimeout() function must be run within a function, we recommend setting the timeout within the
The timeout change works when the channel is running , and also works in the Translator Editor (test mode).
How to use the snippet:
- Paste the code into your script