Skip to content

Commit 402fb32

Browse files
authored
Merge pull request #26 from node-red/update-settings-for-31
Update template settings for 3.1
2 parents 1ef9945 + b4b64a8 commit 402fb32

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/commands/init/resources/settings.js.mustache

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ module.exports = {
395395
* - fileWorkingDirectory
396396
* - functionGlobalContext
397397
* - functionExternalModules
398+
* - functionTimeout
398399
* - nodeMessageBufferMaxLength
399400
* - ui (for use with Node-RED Dashboard)
400401
* - debugUseColors
@@ -419,6 +420,9 @@ module.exports = {
419420
/** Allow the Function node to load additional npm modules directly */
420421
functionExternalModules: {{functionExternalModules}},
421422

423+
/** Default timeout, in seconds, for the Function node. 0 means no timeout is applied */
424+
functionTimeout: 0,
425+
422426
/** The following property can be used to set predefined values in Global Context.
423427
* This allows extra node modules to be made available with in Function node.
424428
* For example, the following:

0 commit comments

Comments
 (0)