booksbyus / zguide

Learning and Using ØMQ
http://zguide.zeromq.org
Other
3.44k stars 1.65k forks source link

fix mdbroker.cpp bug, add cpp implement of titanic and ticlient #929

Closed Sugar-Coder closed 4 weeks ago

Sugar-Coder commented 4 weeks ago

Hi, I fix the mdbroker.cpp bug of accidentally adding a new key to the m_service map. By the way, during testing the titanic pattern, I find it difficult for ticlient and mdworker to connect to the mdbroker after the titanic connected to mdbroker. So I set the timeout(ticlient.cpp) and heartbeat interval (in mdworker.cpp) longer. I wonder if there is a better solution.