feat: improve cluster forming; just use heartbeat to form the cluster

This commit is contained in:
2025-10-19 12:50:43 +02:00
parent ce70830678
commit 3ed44cd00f
10 changed files with 185 additions and 144 deletions

View File

@@ -93,11 +93,10 @@ The configuration is stored as a JSON file with the following structure:
"api_server_port": 80
},
"cluster": {
"discovery_interval_ms": 1000,
"heartbeat_interval_ms": 5000,
"cluster_listen_interval_ms": 10,
"status_update_interval_ms": 1000,
"member_info_update_interval_ms": 10000,
"node_update_broadcast_interval_ms": 5000,
"print_interval_ms": 5000
},
"thresholds": {