prdn / pigato

PIGATO - an high-performance Node.js microservices framework
http://prdn.github.io/pigato/
MIT License
301 stars 31 forks source link

When Directory start, it doesn't get automatically the $dir #53

Closed maxired closed 9 years ago

maxired commented 9 years ago

Hi,

when starting a new service.Directory, it is not automatically updated with the good information.

This will be done only after a worker connect or disconnect.

Because Directory is also a worker, once it's connected to the broker, the broker notify $dir. Still, the Directory won't get the information because the intch connection is done afterward.

prdn commented 9 years ago

Hey @maxired This should fix: 01a5932fdc7347ae8248f29648075b48d0307eed Can you confirm that works for you?

maxired commented 9 years ago

Thansk @prdn, yes it does solve this issue.

I'm glad you took care of this one ;)