Increase MAX_UNFILLED_GAP_TIME to 0.7. 0.4 timeout is too low and causes too much unneeded getDifference calls.

This commit is contained in:
levlam 2021-07-30 21:05:18 +03:00
parent e1b756a437
commit a4bd165061

View File

@ -165,7 +165,7 @@ class GetDifferenceQuery final : public Td::ResultHandler {
}
};
const double UpdatesManager::MAX_UNFILLED_GAP_TIME = 0.4;
const double UpdatesManager::MAX_UNFILLED_GAP_TIME = 0.7;
UpdatesManager::UpdatesManager(Td *td, ActorShared<> parent) : td_(td), parent_(std::move(parent)) {
pts_manager_.init(-1);