diff --git a/configs/development.ini b/configs/development.ini --- a/configs/development.ini +++ b/configs/development.ini @@ -311,6 +311,11 @@ archive_cache.objectstore.secret = secre ; 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 --- a/configs/production.ini +++ b/configs/production.ini @@ -279,6 +279,11 @@ archive_cache.objectstore.secret = secre ; 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 --- a/rhodecode/tests/rhodecode.ini +++ b/rhodecode/tests/rhodecode.ini @@ -279,6 +279,11 @@ archive_cache.objectstore.secret = secre ; 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