Skip to content

Commit bdb7c64

Browse files
authored
clock: Bump the min collaborator ID (#40694)
This allows us to play with IDs < 8 without having to do another redeploy Release Notes: - N/A *or* Added/Fixed/Improved ...
1 parent b827d8c commit bdb7c64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/clock/src/clock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl ReplicaId {
2323
/// A local branch.
2424
pub const LOCAL_BRANCH: ReplicaId = ReplicaId(3);
2525
/// The first collaborative replica ID, any replica equal or greater than this is a collaborative replica.
26-
pub const FIRST_COLLAB_ID: ReplicaId = ReplicaId(Self::LOCAL_BRANCH.0 + 1);
26+
pub const FIRST_COLLAB_ID: ReplicaId = ReplicaId(8);
2727

2828
pub fn new(id: u16) -> Self {
2929
ReplicaId(id)

0 commit comments

Comments
 (0)