From b2e21a4f1213e7b0d6a58e0125b76337754b0adf Mon Sep 17 00:00:00 2001 From: Vort Date: Mon, 8 Apr 2024 12:35:50 +0300 Subject: [PATCH] increase maximum stream resend attempts to 9 --- libi2pd/Streaming.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/Streaming.h b/libi2pd/Streaming.h index 7a521002..e27deb9c 100644 --- a/libi2pd/Streaming.h +++ b/libi2pd/Streaming.h @@ -52,7 +52,7 @@ namespace stream const size_t STREAMING_MTU_RATCHETS = 1812; const size_t MAX_PACKET_SIZE = 4096; const size_t COMPRESSION_THRESHOLD_SIZE = 66; - const int MAX_NUM_RESEND_ATTEMPTS = 6; + const int MAX_NUM_RESEND_ATTEMPTS = 9; const int WINDOW_SIZE = 6; // in messages const int MIN_WINDOW_SIZE = 1; const int MAX_WINDOW_SIZE = 128;