make process replay more reliable

old-commit-hash: 0756c7f374d26945ae27b0cfcabdede9f2060e87
This commit is contained in:
Kurt Nistelberger
2023-01-25 10:46:06 -08:00
parent a928082484
commit 661d1a5727
@@ -568,7 +568,7 @@ def cpp_replay_process(cfg, lr, fingerprint=None):
resp_sockets = cfg.pub_sub[msg.which()] if cfg.should_recv_callback is None else cfg.should_recv_callback(msg)
for s in resp_sockets:
response = messaging.recv_one(sockets[s])
response = messaging.recv_one_retry(sockets[s])
if response is None:
print(f"Warning, no response received {i}")