add support for separate notify_push redis instance

This commit is contained in:
Robin Appelman 2025-08-07 16:56:10 +02:00
commit d69ac5e8f2
4 changed files with 20 additions and 9 deletions

View file

@ -11,10 +11,12 @@ use thiserror::Error;
pub use nc::{parse, parse_glob};
#[derive(Debug)]
#[non_exhaustive]
pub struct Config {
pub database: Database,
pub database_prefix: String,
pub redis: RedisConfig,
pub notify_push_redis: Option<RedisConfig>,
pub nextcloud_url: String,
}