added close db command

v1.18.x
Baris Soner Usakli 11 years ago
parent dfe25d4bc0
commit 3958ee4120

@ -74,6 +74,10 @@
}); });
} }
module.close = function() {
db.close();
}
// //
// helper functions // helper functions
// //

@ -72,6 +72,10 @@
callback(null); callback(null);
} }
module.close = function() {
redisClient.quit();
}
// //
// Exported functions // Exported functions
// //

Loading…
Cancel
Save