[#50] services/storage: Add GC configuration

In NeoFS Node v0.16.0 was implemented new mechanism of garbage collecting.
Data remover is a routine that physically removes "garbage" objects by time
clock.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-03-01 12:25:39 +03:00 committed by Alex Vanin
parent 1a3e986f60
commit a9651911a0

View file

@ -44,3 +44,9 @@ NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2 NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4 NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50 NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
# GC configuration
## Limit of the single data remover's batching operation in number of objects
NEOFS_GC_REMOVER_BATCH_SIZE=100
## Sleep interval between data remover tacts
NEOFS_GC_REMOVER_SLEEP_INTERVAL=1m