hyperlane_config 9.4.3

Hyperlane configuration module providing comprehensive configuration management capabilities for the framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::*;

#[cfg(debug_assertions)]
pub const SERVER_PORT: u16 = DEFAULT_WEB_PORT;
#[cfg(not(debug_assertions))]
pub const SERVER_PORT: u16 = 65002;
pub const SERVER_HOST: &str = DEFAULT_HOST;
pub const SERVER_BUFFER: usize = DEFAULT_BUFFER_SIZE;
pub const SERVER_LOG_SIZE: usize = 100_024_000;
pub const SERVER_LOG_DIR: &str = "./logs";
pub const SERVER_INNER_PRINT: bool = true;
pub const SERVER_INNER_LOG: bool = true;
pub const SERVER_NODELAY: bool = false;
pub const SERVER_TTI: u32 = 128;
pub const SERVER_PID_FILE_PATH: &str = "./process/hyperlane.pid";
pub const SERVER_REQUEST_HTTP_READ_TIMEOUT_MS: u64 = 60000;
pub const SERVER_REQUEST_MAX_BODY_SIZE: usize = MB_100;