Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: NaturalSelect <[email protected]>
  • Loading branch information
NaturalSelect committed Dec 15, 2023
1 parent c24499f commit c38d318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schedule/master.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl NodeSelector for StrawNodeSelector {
// NOTE: double input hash
let mut hasher = DefaultHasher::new();
hasher.write(fn_name.as_bytes());
hasher.write_u32(i);
hasher.write_u64(i as u64);
let hash = hasher.finish() % 63336;
// NOTE: get weight
let weight = self.weight_fetcher.get_node_weight(i as NodeID);
Expand Down

0 comments on commit c38d318

Please sign in to comment.