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:
+1
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user