Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
matrix-media-repo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
matrix-media-repo
Commits
1d406be6
Commit
1d406be6
authored
4 years ago
by
Travis Ralston
Browse files
Options
Downloads
Patches
Plain Diff
Clarify how minBytes is meant to work
parent
578150f7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
config.sample.yaml
+4
-1
4 additions, 1 deletion
config.sample.yaml
with
5 additions
and
1 deletion
CHANGELOG.md
+
1
−
0
View file @
1d406be6
...
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
...
@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
*
Remove deprecated support for restricting uploads to certain mime types.
*
Remove deprecated support for restricting uploads to certain mime types.
*
Remove deprecated support for
`forUploads`
.
*
Remove deprecated support for
`forUploads`
.
*
Clarified what
`uploads.minBytes`
is intended to be used for.
### Fixed
### Fixed
...
...
This diff is collapsed.
Click to expand it.
config.sample.yaml
+
4
−
1
View file @
1d406be6
...
@@ -197,7 +197,10 @@ archiving:
...
@@ -197,7 +197,10 @@ archiving:
uploads
:
uploads
:
maxBytes
:
104857600
# 100MB default, 0 to disable
maxBytes
:
104857600
# 100MB default, 0 to disable
# The minimum number of bytes to let people upload
# The minimum number of bytes to let people upload. This is recommended to be non-zero to
# ensure that the "cost" of running the media repo is worthwhile - small file uploads tend
# to waste more CPU and database resources than small files, thus a default of 100 bytes
# is applied here as an approximate break-even point.
minBytes
:
100
# 100 bytes by default
minBytes
:
100
# 100 bytes by default
# The number of bytes to claim as the maximum size for uploads for the limits API. If this
# The number of bytes to claim as the maximum size for uploads for the limits API. If this
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment