summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 01:27:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-02 02:45:53 +0200
commit07aed68928f3e76fc7d43488ee2b6165b748ebaf (patch)
tree300942b64a10312108d7f732f9b41d502b2056cc
parent16931274443b3607b5f863fe14ceebde661a6c3c (diff)
messages: reduce maximum staged packets per peer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.h b/src/messages.h
index 490a773..6da04e5 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -50,7 +50,7 @@ enum limits {
KEEPALIVE_TIMEOUT = 10 * HZ,
MAX_TIMER_HANDSHAKES = (90 * HZ) / REKEY_TIMEOUT,
MAX_QUEUED_INCOMING_HANDSHAKES = 4096, /* TODO: replace this with DQL */
- MAX_STAGED_PACKETS = 1024,
+ MAX_STAGED_PACKETS = 128,
MAX_QUEUED_PACKETS = 1024 /* TODO: replace this with DQL */
};