Load only a few locales in dev environment

No need to load everything

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-11-06 11:25:58 +01:00
parent dd9b76066c
commit 7baad7cafc
3 changed files with 30 additions and 20 deletions

View File

@@ -178,6 +178,28 @@ config :ex_cldr,
config :http_signatures,
adapter: Mobilizon.Federation.HTTPSignatures.Signature
config :mobilizon, :cldr,
locales: [
"ar",
"be",
"ca",
"cs",
"de",
"en",
"es",
"fi",
"fr",
"gl",
"it",
"ja",
"nl",
"oc",
"pl",
"pt",
"ru",
"sv"
]
config :mobilizon, :activitypub,
# One day
actor_stale_period: 3_600 * 48,