Closed booo closed 12 years ago
At the moment there is no notification about client disconnects. We need an event to abort/close the database queries. Check if node-postgres provides a function to close/abort a query.
On disconnect => abort query.
This should be used in the request handler. But first of all we need tests ;)
res.socket.on('close', function() { queries.close() });
See https://github.com/brianc/node-postgres/pull/68
solved and merged
At the moment there is no notification about client disconnects. We need an event to abort/close the database queries. Check if node-postgres provides a function to close/abort a query.
On disconnect => abort query.