X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver.h;h=012d1edfb56fb2e400a45c5fc957a35ece73f033;hb=a968abb33dc0ecdb572601b39f223d7e79f41860;hp=6590f602987c2fc207a111d4cc5ab9e444dde983;hpb=e42b7b312ba7486d31fb139c5ba10ec75e65a652;p=silc.git diff --git a/apps/silcd/server.h b/apps/silcd/server.h index 6590f602..012d1edf 100644 --- a/apps/silcd/server.h +++ b/apps/silcd/server.h @@ -42,10 +42,10 @@ typedef struct SilcServerBackupStruct *SilcServerBackup; #define SILC_BACKUP_ROUTER 2 /* Connection retry timeout. We implement exponential backoff algorithm - in connection retry. The interval of timeuot grows when retry count + in connection retry. The interval of timeout grows when retry count grows. */ -#define SILC_SERVER_RETRY_COUNT 4 /* Max retry count */ -#define SILC_SERVER_RETRY_MULTIPLIER 7 / 4 /* Interval growth */ +#define SILC_SERVER_RETRY_COUNT 7 /* Max retry count */ +#define SILC_SERVER_RETRY_MULTIPLIER 2 /* Interval growth */ #define SILC_SERVER_RETRY_RANDOMIZER 2 /* timeout += rnd % 2 */ #define SILC_SERVER_RETRY_INTERVAL_MIN 10 /* Min retry timeout */ #define SILC_SERVER_RETRY_INTERVAL_MAX 600 /* Max generated timeout */