Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
c07fca9e
Unverified
Commit
c07fca9e
authored
4 years ago
by
Tristan Lins
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Clarify the comments for media_storage_providers options (#7272)
parent
01294e6b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changelog.d/7272.doc
+1
-0
1 addition, 0 deletions
changelog.d/7272.doc
docs/sample_config.yaml
+3
-4
3 additions, 4 deletions
docs/sample_config.yaml
synapse/config/repository.py
+3
-4
3 additions, 4 deletions
synapse/config/repository.py
with
7 additions
and
8 deletions
changelog.d/7272.doc
0 → 100644
+
1
−
0
View file @
c07fca9e
Documentation of media_storage_providers options updated to avoid misunderstandings. Contributed by Tristan Lins.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
docs/sample_config.yaml
+
3
−
4
View file @
c07fca9e
...
...
@@ -735,12 +735,11 @@ media_store_path: "DATADIR/media_store"
#
#media_storage_providers:
# - module: file_system
# # Whether to
writ
e new local files
.
# # Whether to
stor
e new
ly uploaded
local files
# store_local: false
# # Whether to
writ
e new remote
media
# # Whether to
stor
e new
ly downloaded
remote
files
# store_remote: false
# # Whether to block upload requests waiting for write to this
# # provider to complete
# # Whether to wait for successful storage for local uploads
# store_synchronous: false
# config:
# directory: /mnt/some/other/directory
...
...
This diff is collapsed.
Click to expand it.
synapse/config/repository.py
+
3
−
4
View file @
c07fca9e
...
...
@@ -224,12 +224,11 @@ class ContentRepositoryConfig(Config):
#
#media_storage_providers:
# - module: file_system
# # Whether to
writ
e new local files
.
# # Whether to
stor
e new
ly uploaded
local files
# store_local: false
# # Whether to
writ
e new remote
media
# # Whether to
stor
e new
ly downloaded
remote
files
# store_remote: false
# # Whether to block upload requests waiting for write to this
# # provider to complete
# # Whether to wait for successful storage for local uploads
# store_synchronous: false
# config:
# directory: /mnt/some/other/directory
...
...
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