Increasing the timeout of NodeJS scripts

The nodeJS engine has a hard timeout at 60000 ms.
To increase this, just put this line of code at the top of the config in the LoliCode editor.

Jering.Javascript.NodeJS.StaticNodeJSService.Configure<Jering.Javascript.NodeJS.OutOfProcessNodeJSServiceOptions>(o => o.TimeoutMS = 60000);

Replace 60000 with any value you might want.

8 Likes