Clean up timeout code in metadata server

This commit is contained in:
2025-11-10 15:07:38 +01:00
parent 02b58a26a7
commit 6a608051d6
6 changed files with 81 additions and 83 deletions
+3 -3
View File
@@ -8,8 +8,8 @@
#define REPLICATION_FACTOR 3
// Health check configuration (in milliseconds)
#define HEALTH_CHECK_INTERVAL 30000 // Send STATE_UPDATE every 30 seconds
#define HEALTH_CHECK_TIMEOUT 90000 // Mark as unhealthy after 90 seconds without response
#define SYNC_INTERVAL 10
#define RESPONSE_TIME_LIMIT 90
#endif // CONFIG_INCLUDED