mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Use limited number of threads in MTP.
This commit is contained in:
@@ -139,7 +139,7 @@ Connection::Connection(
|
||||
|
||||
moveToThread(thread);
|
||||
|
||||
connect(thread, &QThread::started, this, [=] {
|
||||
InvokeQueued(this, [=] {
|
||||
_checkSentRequestsTimer.callEach(kCheckSentRequestsEach);
|
||||
connectToServer();
|
||||
});
|
||||
|
Reference in New Issue
Block a user