summaryrefslogtreecommitdiffstats
path: root/src/fastd_config.h.in
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-06-14 03:30:17 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-06-14 03:30:17 +0200
commit781538295ff7c056ffb5c19c283cfbacd91b243d (patch)
treeb5fc6f3be42c3839163638e513d315a64ffce550 /src/fastd_config.h.in
parent7915533147ddaaf5480e52b7d817e11b36348e4a (diff)
downloadfastd-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.in3
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