Skip to content

Commit

Permalink
message_fetch: Increase batch size for message backfill to 1000.
Browse files Browse the repository at this point in the history
There's no advantage to doing a small batch size towards current here,
since latency isn't an issue at this point, and performance on the
server side generally favors larger batch sizes.

This also will make it significantly harder to start getting 429 rate
limiting errors when loading when far behind current.
  • Loading branch information
timabbott committed May 17, 2017
1 parent b64a4f9 commit 8c17206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/message_fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ util.execute_early(function () {
exports.load_old_messages({
anchor: latest_id.toFixed(),
num_before: 0,
num_after: 400,
num_after: 1000,
msg_list: home_msg_list,
cont: load_more,
});
Expand Down

0 comments on commit 8c17206

Please sign in to comment.