Open heri16 opened 7 years ago
strange, this should work
There is no conn.prepare(callback) version.
How about this
async.parellel([
function(cb) { conn.prepareSync(); setImmediate(cb); },
function(cb) { conn.prepareSync(); setImmediate(cb); },
], function(err, results) {});
?
The code below causes a deadlock: