Change minimum chunk size of poll voters to 10.
GitOrigin-RevId: a1789ac229021d183c9d800fbfebf16c521be11c
This commit is contained in:
parent
e046e2ced4
commit
760005df5b
@ -970,7 +970,7 @@ void PollManager::get_poll_voters(PollId poll_id, FullMessageId full_message_id,
|
|||||||
std::move(result));
|
std::move(result));
|
||||||
});
|
});
|
||||||
td_->create_handler<GetPollVotersQuery>(std::move(query_promise))
|
td_->create_handler<GetPollVotersQuery>(std::move(query_promise))
|
||||||
->send(poll_id, full_message_id, BufferSlice(poll->options[option_id].data), voters.next_offset, max(limit, 15));
|
->send(poll_id, full_message_id, BufferSlice(poll->options[option_id].data), voters.next_offset, max(limit, 10));
|
||||||
}
|
}
|
||||||
|
|
||||||
void PollManager::on_get_poll_voters(PollId poll_id, int32 option_id, string offset, int32 limit,
|
void PollManager::on_get_poll_voters(PollId poll_id, int32 option_id, string offset, int32 limit,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user