mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add some more comments to settings.js
This commit is contained in:
parent
8426c9802b
commit
e4353a22bc
@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
**/
|
**/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
// the tcp port that the Node-RED web server is listening on
|
||||||
uiPort: 1880,
|
uiPort: 1880,
|
||||||
|
|
||||||
// By default, the Node-RED UI accepts connections on all IPv4 interfaces.
|
// By default, the Node-RED UI accepts connections on all IPv4 interfaces.
|
||||||
@ -21,8 +22,16 @@ module.exports = {
|
|||||||
// example, the following would only allow connections from the local machine.
|
// example, the following would only allow connections from the local machine.
|
||||||
//uiHost: "127.0.0.1",
|
//uiHost: "127.0.0.1",
|
||||||
|
|
||||||
|
// Retry time in milliseconds for MQTT connections
|
||||||
mqttReconnectTime: 15000,
|
mqttReconnectTime: 15000,
|
||||||
|
|
||||||
|
// Retry time in milliseconds for Serial port connections
|
||||||
serialReconnectTime: 15000,
|
serialReconnectTime: 15000,
|
||||||
|
|
||||||
|
// Retry time in milliseconds for TCP socket connections
|
||||||
|
//socketReconnectTime: 10000,
|
||||||
|
|
||||||
|
// Maximum number of lines in debug window before pruning
|
||||||
debugMaxLength: 1000,
|
debugMaxLength: 1000,
|
||||||
|
|
||||||
// The file containing the flows. If not set, it defaults to flows_<hostname>.json
|
// The file containing the flows. If not set, it defaults to flows_<hostname>.json
|
||||||
|
Loading…
Reference in New Issue
Block a user