Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

By default, Iguana scripts have an execution timeout of 5 minutes. If a script exceeds this duration, Iguana will automatically stop the component to prevent indefinite execution and log an error message: Timed out - script took longer than 5 minutes to run.

If you encounter a timeout error, the first step is to evaluate your script's logic to determine why it is taking so long to process.

  • Unexpected Behavior: Investigate inefficiencies in your code or potential external system delays.

  • Expected Behavior: If the long processing time is intentional, for example if performing large file processing or working with slow API responses, you can adjust the timeout (in seconds) using the iguana.setTimeout function.

function main() 
  iguana.setTimeout(900) -- 15 minutes in seconds
end   

Note: You must call iguana.setTimeout within the main function to take effect.

  • No labels