From e1d1dac95ef21cf063f6106222cb922410bd2210 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 2 Jul 2024 21:39:29 +0000 Subject: [PATCH] add missing media compat example config Signed-off-by: Jason Volk --- conduwuit-example.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/conduwuit-example.toml b/conduwuit-example.toml index f8f93070..9c6b7f0c 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -375,6 +375,20 @@ allow_profile_lookup_federation_requests = true # See: docs/development.md#debugging-with-tokio-console for more information. #tokio_console = false +# Enable backward-compatibility with Conduit's media directory by creating symlinks of media. This +# option is only necessary if you plan on using Conduit again. Otherwise setting this to false +# reduces filesystem clutter and overhead for managing these symlinks in the directory. +#media_compat_file_link = true + +# Checks consistency of the media directory at startup: +# 1. When `media_compat_file_link` is enbled, this check will upgrade media when switching back +# and forth between Conduit and Conduwuit. Both options must be enabled to handle this. +# 2. When media is deleted from the directory, this check will also delete its database entry. +# +# If none of these checks apply to your use cases, and your media directory is significantly large +# setting this to false may reduce startup time. +#media_statup_check = true + ### Generic database options