|
|
@ -1044,7 +1044,7 @@ module.exports.create = function (conf, _cb) {
|
|
|
|
|
|
|
|
|
|
|
|
getWeakLock: function (channelName, _cb) {
|
|
|
|
getWeakLock: function (channelName, _cb) {
|
|
|
|
var cb = Util.once(Util.mkAsync(_cb));
|
|
|
|
var cb = Util.once(Util.mkAsync(_cb));
|
|
|
|
if (!isValidChannelId(channelName)) { return void cb(new Error('EINVAL')); }
|
|
|
|
//if (!isValidChannelId(channelName)) { return void cb(new Error('EINVAL')); } // XXX
|
|
|
|
schedule.unordered(channelName, cb);
|
|
|
|
schedule.unordered(channelName, cb);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|