mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
feat: config option object_storage.max_request_attempts (#6418)
* feat: config option object_storage.max_attempts Backblaze recommends to have a high amount of attempts since they've designed their architecture so that it will return 5xx errors to indicate that the client should do a new attempt. https://www.backblaze.com/blog/b2-503-500-server-error/ closes #6415 * Rephrase comment --------- Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
@@ -214,6 +214,11 @@ object_storage:
|
||||
# Maximum amount to upload in one request to object storage
|
||||
max_upload_part: 100MB
|
||||
|
||||
# Maximum number of attempts to make a request to object storage
|
||||
# Some object storage providers (for instance Backblaze) expects the client to retry upload upon 5xx errors
|
||||
# If you're using such a provider then you can increase this value
|
||||
max_request_attempts: 3
|
||||
|
||||
streaming_playlists:
|
||||
bucket_name: 'streaming-playlists'
|
||||
|
||||
|
||||
@@ -212,6 +212,11 @@ object_storage:
|
||||
# Maximum amount to upload in one request to object storage
|
||||
max_upload_part: 100MB
|
||||
|
||||
# Maximum number of attempts to make a request to object storage
|
||||
# Some object storage providers (for instance Backblaze) expects the client to retry upload upon 5xx errors
|
||||
# If you're using such a provider then you can increase this value
|
||||
max_request_attempts: 3
|
||||
|
||||
streaming_playlists:
|
||||
bucket_name: 'streaming-playlists'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user