diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-06-14 03:30:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-06-14 03:30:17 +0200 |
commit | 781538295ff7c056ffb5c19c283cfbacd91b243d (patch) | |
tree | b5fc6f3be42c3839163638e513d315a64ffce550 /src/fastd_config.h.in | |
parent | 7915533147ddaaf5480e52b7d817e11b36348e4a (diff) | |
download | fastd-781538295ff7c056ffb5c19c283cfbacd91b243d.tar fastd-781538295ff7c056ffb5c19c283cfbacd91b243d.zip |
Limit the number of concurrent on-verify runs
Diffstat (limited to 'src/fastd_config.h.in')
-rw-r--r-- | src/fastd_config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fastd_config.h.in b/src/fastd_config.h.in index 429e42e..2057be1 100644 --- a/src/fastd_config.h.in +++ b/src/fastd_config.h.in @@ -120,6 +120,9 @@ /** How long a peer stays valid after a successful on-verify run */ #define VERIFY_VALID_TIME 60 /* 1 minute */ +/** Maximum number of concurrent on-verify runs */ +#define VERIFY_LIMIT 32 + /** The minimum interval between two handshakes with a peer */ #define MIN_HANDSHAKE_INTERVAL 15 |