joeferner / node-oracle

node.js driver to connect with an oracle database.
MIT License
271 stars 99 forks source link

time out for connection.execute #269

Open geekdeepika opened 8 years ago

geekdeepika commented 8 years ago

HI It will be nice if you can implement the time out feature for a query execution currently one of our query is taking very long time to execute and we wanted to comeback from query execution with time out

cjbj commented 8 years ago

Probably best to use the DB's resource manager. https://docs.oracle.com/database/121/ADMIN/dbrm.htm#ADMIN027