Alyson Deives Pereira 3f422f5dc0 Add heartbeat to zmq socket
It was identified that when the remote RPC server is restarted, 
the RPC client did not automatically reconnected and then the
first attempt of a cast message was not received by the remote 
RPC server. Only after a second cast message was sent that the 
remote connection was restablished. 

Configuring the zmq socket with HEARTBEAT_IVL solves the issue. 

Test Plan (AIO-DX):
PASS: build pkgs and build ISO
PASS: Install ISO and bootstrap
PASS: Verify that zerorpc/events.py file is updated
PASS: lock/unlock inactive controller
PASS: system host-device-image-update controller-1

Closes-Bug: 2101879

Change-Id: Ie7b75ae236e32f7a0d2f0147082134eafa363d09
Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
2025-03-10 18:26:00 +00:00
..
2025-03-10 18:26:00 +00:00