Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions specific_task/HyperCoreDynamicBalancer/HyperCore_balancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@ def is_update_active(self, all_nodes):
print(f" - Info: Node {node_ip} unreachable for update check.")
if is_primary: primary_check_failed = True
except (requests.exceptions.RequestException, json.JSONDecodeError) as e:
print(f" - WARN: Failed get/parse update status from {node_ip}: {e}")
print(f" - Info: Failed get/parse update status from {node_ip}: {e}")
if is_primary: primary_check_failed = True
except Exception as e:
print(f" - WARN: Unexpected error check update on {node_ip}: {e}")
if is_primary: primary_check_failed = True
print(f" - WARN: Cannot determine update status from any node ({', '.join(nodes_to_check)}). Assuming active (fail-safe)."); return True
print(f" - Info: Cannot determine update status from any node. Assuming no update history present. Continue operations"); return False


# --- Load Balancer Class ---
Expand Down