1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Tweak file transfer speed

Hopefully increase stability by replacing a sleep by a longer timer interval
This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-08-31 23:06:31 +02:00
parent c5c3513ee9
commit 628d9a0aae

View File

@ -1087,8 +1087,8 @@ void Core::sendAllFileData(Core *core, ToxFile* file)
//qWarning("Core::fileHeartbeat: Error sending data chunk");
//core->process();
delete[] data;
QThread::msleep(1);
file->sendTimer->start(TOX_FILE_INTERVAL);
//QThread::msleep(1);
file->sendTimer->start(1+TOX_FILE_INTERVAL);
return;
}
delete[] data;