From c6e2b6a681674b94bdbb55ec35901128283bc29b Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 2 Oct 2017 01:27:38 +0200 Subject: messages: reduce maximum staged packets per peer --- src/messages.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/messages.h') 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 */ }; -- cgit v1.2.3-59-g8ed1b