Improve thread safety in HeartbeatChecker and heartbeat updates in Controller
this MR changes in HeartbeatChecker
- add
Lockto make access tozmq.Pollerandzmq.Socket(more) thread safe - allow to
unregisterSatellites - rename logger to make it consistent with the rest of the package:
constellation.core.heartbeatchecker
This allows to improve clean-up of heartbeat connections in the Controller: previously, stale connections would remain even after a Satellite has been restarted; this MR fixes that.