mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 00:43:32 +08:00
master able to list all master clients by type
This commit is contained in:
@@ -88,7 +88,7 @@ func NewMasterServer(r *mux.Router, option *MasterOption, peers []string) *Maste
|
||||
preallocateSize: preallocateSize,
|
||||
clientChans: make(map[string]chan *master_pb.VolumeLocation),
|
||||
grpcDialOption: grpcDialOption,
|
||||
MasterClient: wdclient.NewMasterClient(grpcDialOption, "master", peers),
|
||||
MasterClient: wdclient.NewMasterClient(grpcDialOption, "master", 0, peers),
|
||||
}
|
||||
ms.bounedLeaderChan = make(chan int, 16)
|
||||
|
||||
|
Reference in New Issue
Block a user