Fix value of CHUNK_SERVER_RECONNECT_TIME by expressing it in seconds, also change it to a runtime-modifiable value

This commit is contained in:
2025-11-15 12:10:26 +01:00
parent 11054cae86
commit 7af1bc27b5
2 changed files with 8 additions and 7 deletions
+1 -2
View File
@@ -10,8 +10,6 @@
#define TAG_METADATA_SERVER 1
#define TAG_CHUNK_SERVER 2
#define CHUNK_SERVER_RECONNECT_TIME 10000
typedef struct {
char path[PATH_MAX];
} ChunkStore;
@@ -37,6 +35,7 @@ typedef struct {
Time disconnect_time;
Time last_sync_time;
int reconnect_delay; // In seconds
TCP tcp;