From ccb310b6d8a9434e0021f390fdc27a81a6bc28c5 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 23 Feb 2022 19:28:07 +0200 Subject: [PATCH] Use different default path for crypto db --- maubot/example-config.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maubot/example-config.yaml b/maubot/example-config.yaml index 0f82e12..eb9bfe2 100644 --- a/maubot/example-config.yaml +++ b/maubot/example-config.yaml @@ -6,7 +6,9 @@ database: sqlite:///maubot.db # Separate database URL for the crypto database. "default" means use the same database as above. -crypto_database: default +# Due to concurrency issues, you should use a separate file when using SQLite rather than the same as above. +# When using postgres, using the same database for both is safe. +crypto_database: sqlite:///crypto.db plugin_directories: # The directory where uploaded new plugins should be stored.