Hello all,

I'm currently having issues with the latest Mojolicious and EventEmitter's 
event mechanism in conjunction with preforking.

Just to get a better idea as to whether this is a misunderstanding or error 
on my part: Is EventEmitter's event subscription mechanism supposed to work 
in forking environments (Mojolicious prefork, default IOLoop)?

Specifically, I have an EventEmitter-derived class a method of which 
emit()s on method calls triggered by controllers, and other controllers 
(providing WebSockets) are supposed to get notified.  While this works with 
Morbo, notification appears to happen only randomly with prefork (only if 
the notification happens from within the same process?).  I'm pretty sure 
that this is because EventEmitter doesn't integrate with the IOLoop; is 
there a better mechanism to implement a means of cross-controller 
notification which works with forking?


Thanks,

Marco

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to