Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config for S3_RETRY_LIMIT #1464

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
move to object-storage page
  • Loading branch information
vmstan committed Jun 17, 2024
commit 8229ad2ab9db1cfbdb31b997044106bf9c133924
7 changes: 0 additions & 7 deletions content/en/admin/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -591,13 +591,6 @@ The bucket must support access control lists (ACLs). For AWS S3, this means sett

#### `S3_RETRY_LIMIT`

Adjusting this may be needed for some S3 providers, particularly when there are connectivity issues between the Mastodon server and the S3 storage. This may be observed when posts from other instances have missing media.

Defaults to `0`, not suggested to increase beyond `3` due to database performance concerns.

**Version history:**\
4.3.0 - added

#### `S3_FORCE_SINGLE_REQUEST`

#### `S3_ENABLE_CHECKSUM_MODE`
Expand Down
9 changes: 9 additions & 0 deletions content/en/admin/optional/object-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ Default: 5 (seconds)

The number of seconds before the HTTP handler should timeout while waiting for an HTTP response.

#### `S3_RETRY_LIMIT`

Adjusting this may be needed for some S3 providers, particularly when there are connectivity issues between the Mastodon server and the S3 storage. This may be observed when posts from other instances have missing media.

Defaults to `0`, not suggested to increase beyond `3` due to database performance concerns.

**Version history:**\
4.3.0 - added

#### `S3_FORCE_SINGLE_REQUEST`

Default: false
Expand Down