mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 09:55:47 +01:00
added close db command
This commit is contained in:
@@ -74,6 +74,10 @@
|
||||
});
|
||||
}
|
||||
|
||||
module.close = function() {
|
||||
db.close();
|
||||
}
|
||||
|
||||
//
|
||||
// helper functions
|
||||
//
|
||||
|
||||
@@ -72,6 +72,10 @@
|
||||
callback(null);
|
||||
}
|
||||
|
||||
module.close = function() {
|
||||
redisClient.quit();
|
||||
}
|
||||
|
||||
//
|
||||
// Exported functions
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user