Fixed read replicas

This commit is contained in:
mdecimus
2024-08-14 20:00:24 +02:00
parent e2eb851bfc
commit 79297c37b0
3 changed files with 9 additions and 3 deletions

View File

@@ -52,8 +52,8 @@ use utils::config::Config;
use crate::{add_test_certs, directory::DirectoryStore, store::TempDir, AssertConfig};
const SERVER: &str = r#"
[server]
hostname = "'imap.example.org'"
[lookup.default]
hostname = "imap.example.org"
[server.listener.imap]
bind = ["127.0.0.1:9991"]
@@ -152,6 +152,11 @@ database = "stalwart"
user = "postgres"
password = "mysecretpassword"
[store."psql-replica"]
type = "sql-read-replica"
primary = "postgresql"
replicas = "postgresql"
[store."mysql"]
type = "mysql"
host = "localhost"