Skip to content

Commit e09d8c8

Browse files
flearcForsworns
authored andcommitted
fix constants
1 parent a22e270 commit e09d8c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentinel-core/src/core/config/constant.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ pub const CONFIG_FILENAME: &str = "USE_DEFAULT_CONFIGURATION";
1111

1212
// default metric log settings
1313
pub const FLUSH_INTERVAL_SEC: u32 = 1;
14-
pub const SINGLE_FILE_MAX_SIZE: u64 = 100; // 1024 * 1024 * 50;
15-
pub const MAX_FILE_AMOUNT: usize = 2; //8;
14+
pub const SINGLE_FILE_MAX_SIZE: u64 = 1024 * 1024 * 50; // 1024 * 1024 * 50;
15+
pub const MAX_FILE_AMOUNT: usize = 8; //8;
1616
pub const EXPORTER_ADDR: &str = "127.0.0.1:9091";
1717
pub const EXPORTER_METRICS_PATH: &str = "/metrics";
1818

0 commit comments

Comments
 (0)