Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsos1os committed Oct 27, 2017
1 parent 0bfb41c commit 9d7c706
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/persistence/levelup.js
Expand Up @@ -164,10 +164,8 @@ LevelUpPersistence.prototype.storeSubscriptions = function(client, done) {
if (!client.clean) {
// Issue #693
Object.keys(client.subscriptions).forEach(function(key) {
//if (client.subscriptions[key].qos > 0) { // Issue #693
subscriptions[key] = client.subscriptions[key];
subscriptions[key].ttl = that.options.ttl.subscriptions + now;
//} // Issue #693
});
this._clientSubscriptions.put(client.id, subscriptions, done);
Object.keys(subscriptions).forEach(function(key) {
Expand Down
2 changes: 0 additions & 2 deletions lib/persistence/redis.js
Expand Up @@ -285,9 +285,7 @@ RedisPersistence.prototype.storeSubscriptions = function(client, cb) {

// Issue #693
Object.keys(client.subscriptions).forEach(function(key) {
// if (client.subscriptions[key].qos > 0) { // Issue #693
subscriptions[key] = client.subscriptions[key];
//} // Issue #693
});

this._client.get(clientSubKey, function(err, currentSubs){
Expand Down

0 comments on commit 9d7c706

Please sign in to comment.