2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Use limited number of threads in MTP.

This commit is contained in:
John Preston
2019-11-27 18:09:56 +03:00
parent c742d7406c
commit 64535251e8
4 changed files with 74 additions and 32 deletions

View File

@@ -139,7 +139,7 @@ Connection::Connection(
moveToThread(thread);
connect(thread, &QThread::started, this, [=] {
InvokeQueued(this, [=] {
_checkSentRequestsTimer.callEach(kCheckSentRequestsEach);
connectToServer();
});