From: Frantisek Tobias Date: Mon, 3 Nov 2025 14:31:13 +0000 (+0100) Subject: daemon/quic_common: adjust idle timer and max concurent conn limits to accommodate... X-Git-Tag: v6.2.0~2^2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a272b1b774444804cd597cd657d430dbfb552031;p=thirdparty%2Fknot-resolver.git daemon/quic_common: adjust idle timer and max concurent conn limits to accommodate heavier trafic --- diff --git a/daemon/quic_common.h b/daemon/quic_common.h index 28e666454..5a77c9d4c 100644 --- a/daemon/quic_common.h +++ b/daemon/quic_common.h @@ -49,14 +49,14 @@ typedef enum { #define BUCKETS_PER_CONNS 8 #define MAX_STREAMS_BIDI 1024 -#define MAX_STREAMS_ACTIVE 16 +#define MAX_STREAMS_ACTIVE 64 #define MAX_QUIC_PKT_SIZE 65536 #define MAX_QUIC_FRAME_SIZE 65536 #define QUIC_MAX_SEND_PER_RECV 4 -#define QUIC_CONN_IDLE_TIMEOUT (3 * NGTCP2_SECONDS) -#define QUIC_HS_IDLE_TIMEOUT (3 * NGTCP2_SECONDS) +#define QUIC_CONN_IDLE_TIMEOUT (5 * NGTCP2_SECONDS) +#define QUIC_HS_IDLE_TIMEOUT (5 * NGTCP2_SECONDS) /* HACK adjust pointer of conn->streams head so it points to * struct pl_quic_stream_sess_data, this is hacky */