Skip to content

Commit

Permalink
patched IPC not opened error due to last patch
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanschwarz committed Feb 19, 2021
1 parent 3f2761d commit 1f5b9aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Cluster/ChildProcess.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ class ChildProcess extends StaticCluster {
super()
Meteor.startup(() => {
TaskQueue.registerTaskMap(taskMap)
// register listeners if this process is a worker
process.on('message', ChildWorker.onMessageFromMaster)
process.on('disconnect', ChildWorker.onDisconnect)
})
// register listeners if this process is a worker
process.on('message', ChildWorker.onMessageFromMaster)
process.on('disconnect', ChildWorker.onDisconnect)
}
}

Expand Down

0 comments on commit 1f5b9aa

Please sign in to comment.