From 8df4ca66134d5698e44d6c83306956f001db3151 Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Wed, 9 Oct 2024 08:55:05 +0200 Subject: [PATCH] Revert "tuning via KV settings" This reverts commit 8a87f58570df55152dca7cdcd980880eaf5037dc. --- iscsi-pdu.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/iscsi-pdu.cpp b/iscsi-pdu.cpp index dee16ac..c2d7cb5 100644 --- a/iscsi-pdu.cpp +++ b/iscsi-pdu.cpp @@ -343,16 +343,13 @@ bool iscsi_pdu_login_reply::set(const iscsi_pdu_login_request & reply_to) const std::vector kvs { ses->get_header_digest() ? "HeaderDigest=CRC32C" : "HeaderDigest=None", ses->get_data_digest () ? "DataDigest=CRC32C" : "DataDigest=None", - "DefaultTime2Wait=0", + "DefaultTime2Wait=2", "DefaultTime2Retain=20", "ErrorRecoveryLevel=0", - "MaxConnections=128", // arbitrarily chosen #if defined(ARDUINO) "MaxRecvDataSegmentLength=4096", - "MaxBurstLength=4096", #else "MaxRecvDataSegmentLength=8388608", // 8 MB, anything large - "MaxBurstLength=8388608", #endif }; for(auto & kv : kvs)