dashersw/cote

cote:removed doesn't fire immediately

crapthings opened this issue · 1 comments

it seems when i terminate one of service, but removed event take seconds to trigger. then i start service again the cote:added fired before removed

Yes, this is by design. cote:added and cote:removed are notifying the user of the active discovery mapping. It's mostly meant for diagnostics and you shouldn't be using it for application logic.