You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Want to add a logger to the runners.py when worker is waiting for the master to be running, I already have the code but I need access to push the branch. Also want to start contributing to this repo. Thanks
Code:
defconnect_to_master(self):
self.retry+=1logger.info("Waiting for master to be ready")
self.client.send(Message("client_ready", __version__, self.client_id))
success=self.connection_event.wait(timeout=CONNECT_TIMEOUT)
ifnotsuccess:
ifself.retry>CONNECT_RETRY_COUNT:
logger.error(
f"Failed to connect to master {self.master_host}:{self.master_port}, after {CONNECT_RETRY_COUNT} retries"
)
raiseConnectionError()
self.connect_to_master()
self.connected=True
The text was updated successfully, but these errors were encountered:
Want to add a logger to the runners.py when worker is waiting for the master to be running, I already have the code but I need access to push the branch. Also want to start contributing to this repo. Thanks
Code:
The text was updated successfully, but these errors were encountered: