Decrease sticker set cache time.
GitOrigin-RevId: dec22463f0411888a6e2a3eddc95ab1a6ccf3b0d
This commit is contained in:
parent
871fe2210d
commit
19507a7f7a
@ -2301,8 +2301,8 @@ StickerSetId StickersManager::on_get_messages_sticker_set(StickerSetId sticker_s
|
||||
CHECK(s != nullptr);
|
||||
CHECK(s->is_inited);
|
||||
|
||||
s->expires_at = G()->unix_time() + (td_->auth_manager_->is_bot() ? Random::fast(10 * 60, 15 * 60)
|
||||
: Random::fast(20 * 60 * 60, 28 * 60 * 60));
|
||||
s->expires_at = G()->unix_time() +
|
||||
(td_->auth_manager_->is_bot() ? Random::fast(10 * 60, 15 * 60) : Random::fast(30 * 60, 50 * 60));
|
||||
|
||||
if (s->is_loaded) {
|
||||
update_sticker_set(s);
|
||||
|
Loading…
Reference in New Issue
Block a user