server connection hangs on close, I filed a bug on it.  Of course it's 
possible that I did it wrong...  :)  I was following the examples and 
noticed that Oriento did not have an explicit close function.  So I added 
'keepOpen: false' to the config but still hangs.  Anyone have a solution?
Here's the code:

var Oriento = require('oriento');

var server = Oriento({
    host: 'localhost',
    port: 2424,
    username: 'admin',
    password: 'admin',
    keepOpen: false
});

server.list()
.then(function (dbs) {
    console.log('there are ' + dbs.length + ' databases on the server');
})
.then(server.close);

Thanks!


On Thursday, April 10, 2014 11:23:42 AM UTC-7, Al wrote:
>
> https://www.npmjs.org/package/oriento
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to