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:
parent
e1b756a437
commit
a4bd165061
@ -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)) {
|
UpdatesManager::UpdatesManager(Td *td, ActorShared<> parent) : td_(td), parent_(std::move(parent)) {
|
||||||
pts_manager_.init(-1);
|
pts_manager_.init(-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user