K 10 svn:author V 10 englabenny K 8 svn:date V 27 2010-04-10T23:02:15.581351Z K 7 svn:log V 442 Scripting: Limit execution time Use Lua debug runtime facilities to set up a check hook every 10000 executed instructions (by default), to check used execution time. We interrupt the script execution after 5 seconds of cpu time, which should be ample time. The limit applies to the time between script execution is initiated from C until lua returns to C. For example, each script callback call is a separate execution. See gna patch #1599 END