Files
neon/walkeeper/src/lib.rs
Dmitry Rodionov 75e717fe86 allow both domains and ip addresses in connection options for
pageserver and wal keeper. Also updated PageServerNode definition in
control plane to account for that. resolves #303
2021-07-09 16:46:21 +03:00

22 lines
445 B
Rust

//
use std::path::PathBuf;
use std::time::Duration;
pub mod receive_wal;
pub mod replication;
pub mod s3_offload;
pub mod send_wal;
pub mod timeline;
pub mod wal_service;
#[derive(Debug, Clone)]
pub struct WalAcceptorConf {
pub data_dir: PathBuf,
pub daemonize: bool,
pub no_sync: bool,
pub listen_addr: String,
pub pageserver_addr: Option<String>,
pub ttl: Option<Duration>,
pub recall_period: Option<Duration>,
}