You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After my http server got query result from mssql , I wanted to send them to html . I got error as follow.
events.js:85
throw er; // Unhandled 'error' event
^
Error: write ENOTSUP
at exports._errnoException (util.js:742:11)
at ChildProcess.target._send (child_process.js:482:28)
at ChildProcess.target.send (child_process.js:415:12)
at sendHelper (cluster.js:657:8)
at send (cluster.js:493:5)
at cluster.js:469:7
at SharedHandle.add (cluster.js:99:3)
at queryServer (cluster.js:461:12)
at Worker.onmessage (cluster.js:419:7)
at ChildProcess.<anonymous> (cluster.js:673:8)
my mssql module using mssql , I have a mssql callback to get query result. Whether directly or indirectly(callback) , to get result . It can't transaction.
ps. node version is v0.11.14
if(cluster.isMaster){console.log('CPUs: '+os.cpuCount());for(vari=0;i<os.cpuCount();i+=1){cluster.fork();}cluster.on('exit',function(worker){// Replace the dead worker, we're not sentimentalconsole.log('Worker '+worker.id+' died :(');cluster.fork();});}else{
.....
.....app.get('/query/',function(req,res,next){async.waterfall([function(Acallback){query.acr_query('ACR',Acallback);},function(result,Acallback){console.log(result);vartemp=result;returnres.send(temp);}],function(err,result){});});
......
.....http.createServer(app).listen(port);}
node version is v0.11.14
The text was updated successfully, but these errors were encountered:
After my http server got query result from mssql , I wanted to send them to html . I got error as follow.
my mssql module using mssql , I have a mssql callback to get query result. Whether directly or indirectly(callback) , to get result . It can't transaction.
ps. node version is v0.11.14
node version is v0.11.14
The text was updated successfully, but these errors were encountered: