mirror of
https://github.com/nabbar/golib.git
synced 2025-10-05 07:46:56 +08:00
@@ -223,6 +223,7 @@ func (c ConfigCluster) GetDGBConfigCluster() dgbcfg.Config {
|
||||
d.Quiesce = true
|
||||
}
|
||||
|
||||
//nolint #exhaustive
|
||||
switch c.SnapshotCompressionType {
|
||||
case dgbcfg.Snappy:
|
||||
d.SnapshotCompressionType = dgbcfg.Snappy
|
||||
@@ -230,6 +231,7 @@ func (c ConfigCluster) GetDGBConfigCluster() dgbcfg.Config {
|
||||
d.SnapshotCompressionType = dgbcfg.NoCompression
|
||||
}
|
||||
|
||||
//nolint #exhaustive
|
||||
switch c.EntryCompressionType {
|
||||
case dgbcfg.Snappy:
|
||||
d.EntryCompressionType = dgbcfg.Snappy
|
||||
|
Reference in New Issue
Block a user