make setting dynamic

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2607>
This commit is contained in:
Petitminion 2023-11-06 00:00:39 +01:00 committed by Marge
commit 179c53695e
8 changed files with 22 additions and 19 deletions

View file

@ -1484,10 +1484,3 @@ Typesense hostname. Defaults to `localhost` on non-Docker deployments and to `ty
Docker deployments.
"""
TYPESENSE_NUM_TYPO = env("TYPESENSE_NUM_TYPO", default=5)
ONLY_ALLOW_MUSICBRAINZ_TAGGED_FILES = env(
"ONLY_ALLOW_MUSICBRAINZ_TAGGED_FILES", default=False
)
"""
If True, files without a Musicbrainz id will not be uploaded.
"""