Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RemoverBatchSizeDefault is a default batch size for Shard GC's remover. RemoverBatchSizeDefault = 100 // RemoverSleepIntervalDefault is a default sleep interval of Shard GC's remover. RemoverSleepIntervalDefault = time.Minute )
config defaults
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is a wrapper over the config section which provides access to Shard's GC configurations.
func (*Config) RemoverBatchSize ¶
RemoverBatchSize returns value of "remover_batch_size" config parameter.
Returns RemoverBatchSizeDefault if value is not a positive number.
func (*Config) RemoverSleepInterval ¶
RemoverSleepInterval returns value of "remover_sleep_interval" config parameter.
Returns RemoverSleepIntervalDefault if value is not a positive number.
Click to show internal directories.
Click to hide internal directories.