2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Add base::ConcurrentTimer.

Write removes from cache database once an hour.
This commit is contained in:
John Preston
2018-08-09 23:39:22 +03:00
parent 64b8adb3d0
commit b9af3c7f34
14 changed files with 552 additions and 9 deletions

View File

@@ -15,6 +15,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "core/crash_reports.h"
#include "messenger.h"
#include "base/timer.h"
#include "base/concurrent_timer.h"
#include "base/qthelp_url.h"
#include "base/qthelp_regex.h"
#include "core/update_checker.h"
@@ -446,6 +447,7 @@ void adjustSingleTimers() {
a->adjustSingleTimers();
}
base::Timer::Adjust();
base::ConcurrentTimerEnvironment::Adjust();
}
void connect(const char *signal, QObject *object, const char *method) {