strongloop / strong-oracle

Deprecated: Node.js Driver for Oracle databases (Use https://github.com/oracle/node-oracledb instead)
Other
45 stars 18 forks source link

Setting prefetch to a value higher than 1000 triggers a recursion warning #48

Open vijaygrk opened 8 years ago

vijaygrk commented 8 years ago

(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.

RangeError: Maximum call stack size exceeded

I am using the latest version.

bnoordhuis commented 8 years ago

@raymondfeng By the looks of it, lib/oracle.js should be using setImmediate(), not process.nextTick().