when i cluster, do i want each cluster to reinitialize certain modules? for example, should each connect to apple push notification? at the top of app.js, i setup the connection, and thus it's called for each cluster.On an unreleated note, if i instantiate an object (that listens via eventEmitter) inside an init function, do i need to set the listener in emit, or can it be global? i.e. object.on('event', fn)
Submitted February 16, 2016 at 06:46PM by -proof
No comments:
Post a Comment