From c102143b501fefa19e5cc8be58c12ff1cc653445 Mon Sep 17 00:00:00 2001 From: Cody Soyland Date: Thu, 5 Jul 2018 21:42:12 -0500 Subject: [PATCH] Unexport DefaultPartitionN --- cluster.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster.go b/cluster.go index f61173c3b..45bbb835d 100644 --- a/cluster.go +++ b/cluster.go @@ -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