feat(archive-cache): objectstore now makes bucket required, and use shards as folders inside it
This commit is contained in:
parent
5206570f1b
commit
eab897ac5c
7 changed files with 75 additions and 62 deletions
|
|
@ -311,10 +311,9 @@ 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
|
||||
; a top-level bucket to put all other shards in
|
||||
; objects will be stored in rhodecode-archive-cache/shard-N based on the bucket_shards number
|
||||
archive_cache.objectstore.bucket = 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue