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:
parent
c5c3513ee9
commit
628d9a0aae
4
core.cpp
4
core.cpp
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user