-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Hi use OrientDB 2.1.7 and orientjs 2.1.0
if I use "db.close()" and then "server.close()"
there appear two connection that have never disappear in the database
function(req,res) {
var Oriento = require('orientjs');
var server = Oriento({
host: 'localhost',
port: 2424,
username: 'root',
password: 'password',
transport: 'binary'
});
var db = server.use({
name: 'esalgyt4',
username: 'admin',
password: 'admin'
});
db.query('Select from Ouser')
.then(function(ress){
db.close();
server.close();
res.send(ress);
})
.catch(function(ress){
db.close();
server.close();
res.send(ress);
});