Skip to content

Commit

Permalink
GH-440: Temporary increase intercom message size to 2048
Browse files Browse the repository at this point in the history
  • Loading branch information
AnarManafov committed May 17, 2022
1 parent 404c38b commit 9a89b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dds-protocol-lib/src/BaseSMChannelImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,10 @@ namespace dds
static const unsigned int maxNofMessages = 100;
// Taking into account that maximum size of the string for the command is 2^16 plus some extra bytes
// for key size (128 bytes) and other.
// TODO: Because of performance problems we had to reduce the size of the message from 65K to 1K.
// TODO: Because of performance problems we had to reduce the size of the message from 65K to 2K.
// TODO: Need to implement an algorithm to break protocol messages on smaller chunks if they are bigger
// than nmaxMessageSize
static const unsigned int maxMessageSize = 1024;
static const unsigned int maxMessageSize = 2048;

try
{
Expand Down

0 comments on commit 9a89b9a

Please sign in to comment.