This commit is contained in:
Florian Reimair 2019-07-08 16:23:36 +02:00
parent 3fb8be3481
commit 7a942cfbd7
No known key found for this signature in database
GPG Key ID: 05634D8D7A7954C8

View File

@ -294,7 +294,6 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
if(queueOfBundles.isEmpty() || queueOfBundles.element().toProtoNetworkEnvelope().getSerializedSize() + networkEnvelope.toProtoNetworkEnvelope().getSerializedSize() > MAX_PERMITTED_MESSAGE_SIZE * 0.9) {
// - no? create a bucket
queueOfBundles.add(new BundleOfEnvelopes());
System.err.println("added fresh container");
// - and schedule it for sending
lastSendTimeStamp += sendMsgThrottleSleep;