mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:58:07 +02:00
reset initial to 500, remove debug
This commit is contained in:
parent
91355a5396
commit
805c5a6aff
1 changed files with 1 additions and 3 deletions
|
@ -143,7 +143,7 @@ void UDTTest::parseArguments() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void UDTTest::sendInitialPackets() {
|
void UDTTest::sendInitialPackets() {
|
||||||
static const int NUM_INITIAL_PACKETS = 10;
|
static const int NUM_INITIAL_PACKETS = 500;
|
||||||
|
|
||||||
int numPackets = std::max(NUM_INITIAL_PACKETS, _maxSendPackets);
|
int numPackets = std::max(NUM_INITIAL_PACKETS, _maxSendPackets);
|
||||||
|
|
||||||
|
@ -159,8 +159,6 @@ void UDTTest::sendInitialPackets() {
|
||||||
|
|
||||||
void UDTTest::sendPacket() {
|
void UDTTest::sendPacket() {
|
||||||
|
|
||||||
qDebug() << "Sending packet" << _totalQueuedPackets + 1;
|
|
||||||
|
|
||||||
if (_maxSendPackets != -1 && _totalQueuedPackets > _maxSendPackets) {
|
if (_maxSendPackets != -1 && _totalQueuedPackets > _maxSendPackets) {
|
||||||
// don't send more packets, we've hit max
|
// don't send more packets, we've hit max
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue