diff options
-rw-r--r-- | src/server/uplink.c | 2 | ||||
-rw-r--r-- | src/serverconfig.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/uplink.c b/src/server/uplink.c index b4fdf99..cefd2ac 100644 --- a/src/server/uplink.c +++ b/src/server/uplink.c @@ -432,7 +432,7 @@ static void* uplink_mainloop(void *data) } else { // Not complete - do measurement altservers_findUplink( link ); // This will set RTT_INPROGRESS (synchronous) - if ( _backgroundReplication == BGR_FULL && link->nextReplicationIndex == REP_NONE ) { + if ( _backgroundReplication == BGR_FULL && link->nextReplicationIndex == -1 ) { link->nextReplicationIndex = 0; } } diff --git a/src/serverconfig.h b/src/serverconfig.h index 677acce..6fcda58 100644 --- a/src/serverconfig.h +++ b/src/serverconfig.h @@ -13,7 +13,7 @@ #define SERVER_BAD_UPLINK_IGNORE 180 // How many seconds is a server ignored #define SERVER_MAX_UPLINK_QUEUE 1500 // Maximum number of queued requests per uplink #define SERVER_UPLINK_QUEUELEN_THRES 900 // Threshold where we start dropping incoming clients -#define SERVER_MAX_PENDING_ALT_CHECKS 50 // Length of queue for pending alt checks requested by uplinks +#define SERVER_MAX_PENDING_ALT_CHECKS 500 // Length of queue for pending alt checks requested by uplinks #define SERVER_CACHE_MAP_SAVE_INTERVAL 90 |