Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShardCfg ¶
type ShardCfg struct {
Compress bool
SmallSizeObjectLimit uint64
UncompressableContentType []string
RefillMetabase bool
Mode shardmode.Mode
MetaCfg struct {
Path string
Perm fs.FileMode
MaxBatchSize int
MaxBatchDelay time.Duration
}
SubStorages []SubStorageCfg
GcCfg struct {
RemoverBatchSize int
RemoverSleepInterval time.Duration
}
WritecacheCfg struct {
Enabled bool
Path string
MaxBatchSize int
MaxBatchDelay time.Duration
SmallObjectSize uint64
MaxObjSize uint64
FlushWorkerCount int
SizeLimit uint64
NoSync bool
}
PiloramaCfg struct {
Enabled bool
Path string
Perm fs.FileMode
NoSync bool
MaxBatchSize int
MaxBatchDelay time.Duration
}
}
Click to show internal directories.
Click to hide internal directories.