[progress Communities] [progress Openedge Abl] Forum Post: Re: Can I Set Max Execution Time...

Status
Not open for further replies.
S

Santosh Patel

Guest
MaxJSTimeMs governs the javascript execution time for javascript blocks in serverside code. MaxTimeToRunTrigMS governs the overall time a single trigger can spend for execution. In any scenario an unlimited execution time is not advisable as there is possibility of execution flow getting stuck (either due to outbound http calls, disk io, or an infinite loop) and because there been no time limit, the trigger will be stuck forever in turn making the UI freeze (if this was UI invoked) or a batch job for that matter. Any trigger doing something that is taking more than a few minutes, is either doing something wrong or is doing too much in itself. You should modularize your code in multiple components.

Continue reading...
 
Status
Not open for further replies.
Top