diff --git a/configs/development.ini b/configs/development.ini index 9ae745ec..741136b6 100644 --- a/configs/development.ini +++ b/configs/development.ini @@ -311,6 +311,11 @@ archive_cache.objectstore.secret = secret ; default is 8 shards archive_cache.objectstore.bucket_shards = 8 +; a top-level bucket to put all other sharded buckets in +; in case it's empty all buckets will be created in top-level (not recommended) +; objects will be stored in rhodecode-archive-cache/shard-bucket-N based on the bucket_shards number +archive_cache.objectstore.bucket_root = rhodecode-archive-cache + ; if true, this cache will try to retry with retry_attempts=N times waiting retry_backoff time archive_cache.objectstore.retry = false diff --git a/configs/production.ini b/configs/production.ini index 205a1884..e4da1b32 100644 --- a/configs/production.ini +++ b/configs/production.ini @@ -279,6 +279,11 @@ archive_cache.objectstore.secret = secret ; default is 8 shards archive_cache.objectstore.bucket_shards = 8 +; a top-level bucket to put all other sharded buckets in +; in case it's empty all buckets will be created in top-level (not recommended) +; objects will be stored in rhodecode-archive-cache/shard-bucket-N based on the bucket_shards number +archive_cache.objectstore.bucket_root = rhodecode-archive-cache + ; if true, this cache will try to retry with retry_attempts=N times waiting retry_backoff time archive_cache.objectstore.retry = false diff --git a/rhodecode/tests/rhodecode.ini b/rhodecode/tests/rhodecode.ini index 8af252b4..2795cc99 100644 --- a/rhodecode/tests/rhodecode.ini +++ b/rhodecode/tests/rhodecode.ini @@ -279,6 +279,11 @@ archive_cache.objectstore.secret = secret ; default is 8 shards archive_cache.objectstore.bucket_shards = 8 +; a top-level bucket to put all other sharded buckets in +; in case it's empty all buckets will be created in top-level (not recommended) +; objects will be stored in rhodecode-archive-cache/shard-bucket-N based on the bucket_shards number +archive_cache.objectstore.bucket_root = rhodecode-archive-cache + ; if true, this cache will try to retry with retry_attempts=N times waiting retry_backoff time archive_cache.objectstore.retry = false