Skip to content

Commit

Permalink
Add config for leader schedule fanout (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored Oct 19, 2020
1 parent cfb897b commit 225198c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/leader_schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { endlessRetry } from "./utils";
type NodeAddress = string;

// Number of upcoming slots to include when building upcoming node set
const UPCOMING_SLOT_SEARCH = 2000;
const UPCOMING_SLOT_SEARCH = parseInt(process.env.LEADER_SLOT_FANOUT || "40");

// Number of slots before end of epoch used to start refreshing leader schedule
const END_OF_EPOCH_BUFFER = 20;
Expand Down

0 comments on commit 225198c

Please sign in to comment.