Skip to content

Commit

Permalink
fix shard coordinator initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
sstanculeanu committed Sep 4, 2024
1 parent c9cc5f5 commit 05660f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/proxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ func createVersionsRegistry(
return nil, err
}

shardCoord, err := sharding.NewMultiShardCoordinator(uint32(cfg.GeneralSettings.NumberOfShards)+1, 0)
shardCoord, err := sharding.NewMultiShardCoordinator(cfg.GeneralSettings.NumberOfShards, 0)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 05660f8

Please sign in to comment.