mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport DefaultPartitionN
This commit is contained in:
parent
9fd8cdb007
commit
c102143b50
1 changed files with 3 additions and 3 deletions
|
|
@ -36,8 +36,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
// DefaultPartitionN is the default number of partitions in a cluster.
|
||||
DefaultPartitionN = 256
|
||||
// defaultPartitionN is the default number of partitions in a cluster.
|
||||
defaultPartitionN = 256
|
||||
|
||||
// ClusterState represents the state returned in the /status endpoint.
|
||||
ClusterStateStarting = "STARTING"
|
||||
|
|
@ -219,7 +219,7 @@ type cluster struct {
|
|||
func newCluster() *cluster {
|
||||
return &cluster{
|
||||
Hasher: &jmphasher{},
|
||||
partitionN: DefaultPartitionN,
|
||||
partitionN: defaultPartitionN,
|
||||
ReplicaN: 1,
|
||||
|
||||
joiningLeavingNodes: make(chan nodeAction, 10), // buffered channel
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue