This topic contains 0 replies, has 1 voice, and was last updated by Ian Hay 9 years, 3 months ago.
Script Time Out
You must be logged in to reply to this topic.
This topic contains 0 replies, has 1 voice, and was last updated by Ian Hay 9 years, 3 months ago.
I’ve recently been having to deal with some cases of system/network instability within our network, and unfortunately how I have written the translator script it doesn’t appear to handle it too well. Every morning I wake up to the channel stopped and an error of “Timed out – script took longer than 5 minutes to run.” I’ve checked out the help doco and can see that I can increase iguana.setTimeout() to a higher value, I’m already using a retry method on all database calls so I assume I just need to have the timeout match the potential time the retry could run for.
My question is more around best practice, is there anything to worry about if this value were to be increased to around an hour, the retry will be customised to handle alerting and should resume once the connection is reestablished so that angle should be covered? Are there any other potential issues with increasing this?
You must be logged in to reply to this topic.