# HG changeset patch # User RhodeCode Admin # Date 2024-06-18 12:05:33 # Node ID 2d19c72ef6ab367d774e92f65a52b9ccd51d7e75 # Parent fdcdfe77962af5829836caafedf6a461b8376d48 configs: added config for top-level bucket 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