Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magdyksaleh committed Jan 17, 2025
1 parent c499282 commit d6bfc26
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions router/src/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl Health {
}),
adapter_index: 0,
// Block 0 is reserved for health checks
blocks: vec![0],
blocks: vec![0, 1],
slots: (0..self.shard_info.block_size).collect(),
cache_len: 0,
chunk_len: None,
Expand All @@ -91,8 +91,8 @@ impl Health {
parameters: None,
stopping_parameters: None,
adapter_index: 0,
blocks: vec![0],
slots: (0..self.shard_info.block_size).collect(),
blocks: vec![0, 1, 2],
slots: (0..self.shard_info.block_size + 1).collect(),
cache_len: 0,
chunk_len: None,
};
Expand All @@ -116,8 +116,8 @@ impl Health {
parameters: None,
stopping_parameters: None,
adapter_index: 0,
blocks: vec![0],
slots: (0..self.shard_info.block_size).collect(),
blocks: vec![0, 1, 2],
slots: (0..self.shard_info.block_size + 1).collect(),
cache_len: 0,
chunk_len: None,
};
Expand Down

0 comments on commit d6bfc26

Please sign in to comment.