message_fetch: Rename constants for clarity.

The "pointer" is no longer a concept; what we mean to refer to here is
the anchor.
This commit is contained in:
Tim Abbott 2020-06-17 23:38:49 -07:00 committed by Tim Abbott
parent ba1f2dfdfa
commit 3dac8d7d97
1 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@ const consts = {
backfill_batch_size: 1000,
narrow_before: 50,
narrow_after: 50,
num_before_pointer: 200,
num_after_pointer: 200,
num_before_home_anchor: 200,
num_after_home_anchor: 200,
backward_batch_size: 100,
forward_batch_size: 100,
catch_up_batch_size: 1000,
@ -408,8 +408,8 @@ exports.initialize = function () {
}
exports.load_messages({
anchor: anchor,
num_before: consts.num_before_pointer,
num_after: consts.num_after_pointer,
num_before: consts.num_before_home_anchor,
num_after: consts.num_after_home_anchor,
msg_list: home_msg_list,
cont: load_more,
});