Skip to content

Commit

Permalink
Revert "tuning via KV settings"
Browse files Browse the repository at this point in the history
This reverts commit 8a87f58.
  • Loading branch information
folkertvanheusden committed Oct 9, 2024
1 parent b788a5b commit 8df4ca6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions iscsi-pdu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,16 +343,13 @@ bool iscsi_pdu_login_reply::set(const iscsi_pdu_login_request & reply_to)
const std::vector<std::string> 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)
Expand Down

0 comments on commit 8df4ca6

Please sign in to comment.