Skip to content

Commit

Permalink
fixed timout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolchanenko committed Jul 5, 2013
1 parent bb59155 commit a36617d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ common.parseConfig(function(){
console.log('stderr: ' + data);
});

setTimeout(function(){
fs.writeFileSync(__dirname+"/app.pid",process.pid+"\r\n"+dbChild.child.pid +"\r\n"+appChild.child.pid);
},40000);
});




setTimeout(function(){
fs.writeFileSync(__dirname+"/app.pid",process.pid+"\r\n"+dbChild.child.pid +"\r\n"+appChild.child.pid);
},40000);

0 comments on commit a36617d

Please sign in to comment.