mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Deprecate old mqtt client and connection pool modules
This commit is contained in:
parent
db686388b9
commit
b9f03e7d80
@ -16,6 +16,9 @@
|
|||||||
var util = require("util");
|
var util = require("util");
|
||||||
var mqtt = require("mqtt");
|
var mqtt = require("mqtt");
|
||||||
var events = require("events");
|
var events = require("events");
|
||||||
|
|
||||||
|
util.log("[warn] nodes/core/io/lib/mqtt.js is deprecated and will be removed in a future release of Node-RED. Please report this usage to the Node-RED mailing list.");
|
||||||
|
|
||||||
//var inspect = require("util").inspect;
|
//var inspect = require("util").inspect;
|
||||||
|
|
||||||
//var Client = module.exports.Client = function(
|
//var Client = module.exports.Client = function(
|
||||||
|
@ -17,6 +17,8 @@ var util = require("util");
|
|||||||
var mqtt = require("./mqtt");
|
var mqtt = require("./mqtt");
|
||||||
var settings = require(process.env.NODE_RED_HOME+"/red/red").settings;
|
var settings = require(process.env.NODE_RED_HOME+"/red/red").settings;
|
||||||
|
|
||||||
|
util.log("[warn] nodes/core/io/lib/mqttConnectionPool.js is deprecated and will be removed in a future release of Node-RED. Please report this usage to the Node-RED mailing list.");
|
||||||
|
|
||||||
var connections = {};
|
var connections = {};
|
||||||
|
|
||||||
function matchTopic(ts,t) {
|
function matchTopic(ts,t) {
|
||||||
|
Loading…
Reference in New Issue
Block a user