Spawn sender into separate process

This commit is contained in:
Andris Reinman 2016-12-10 15:27:52 +02:00
parent 37b0ac9aec
commit 88fe24a709
3 changed files with 39 additions and 6 deletions

View file

@ -497,7 +497,4 @@ let sendLoop = () => {
});
};
module.exports = callback => {
sendLoop();
setImmediate(callback);
};
sendLoop();