X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=tunable.h;h=fddeaf9b0079c41be2c0a616ae0b35c8db0b727e;hb=9f99b463d27294281c778c9be890499ee1d84799;hp=9ee1e6c935c4efaae8a299a217be66ce251418da;hpb=580682dcaae8305ac9ca9c5e1011ef963d86f5d1;p=~andy%2Ffetchmail diff --git a/tunable.h b/tunable.h index 9ee1e6c9..fddeaf9b 100644 --- a/tunable.h +++ b/tunable.h @@ -10,6 +10,17 @@ /* default timeout period in seconds if server connection dies */ #define CLIENT_TIMEOUT 300 +/* maximum consecutive timeouts to accept */ +#define MAX_TIMEOUTS 20 + +/* maximum consecutive lock-busy errors to accept */ +#define MAX_LOCKOUTS 5 + +/* maximum consecutive authentication failures to accept */ +#define MAX_AUTHFAILS 10 + /* default skipped message warning interval in seconds */ #define WARNING_INTERVAL 3600 +/* maximum transient errors to accept */ +#define MAX_TRANSIENT_ERRORS 20