diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index 76b131b..128edb7 100644 --- a/src/config.h +++ b/src/config.h @@ -28,7 +28,10 @@ #define SERVER_MAX_CLIENTS 5000 #define SERVER_MAX_IMAGES 5000 #define SERVER_MAX_ALTS 1000 -#define SERVER_MAX_UPLINK_QUEUE 1000 +#define SERVER_MAX_UPLINK_QUEUE 1500 +#define SERVER_MAX_UPLINK_FAILS 4 // How many times may a server fail until it is considered bad +#define SERVER_BAD_UPLINK_IGNORE 300 // How many seconds is a server considered bad? +#define SERVER_UPLINK_QUEUELEN_THRES 900 #define SERVER_MAX_PENDING_ALT_CHECKS 50 // +++++ Other magic constants |