* improve code for notify * fix * cargo fmt * improve code and create `DEFAULT_DELIMITER` * fix * fix * improve code for notify * fmt * Update crates/notify/src/registry.rs Co-authored-by: Copilot <[email protected]> * Update crates/notify/src/factory.rs Co-authored-by: Copilot <[email protected]> * fix cllipy --------- Co-authored-by: Copilot <[email protected]>
8 lines
403 B
Rust
8 lines
403 B
Rust
pub const DEFAULT_DIR: &str = "/opt/rustfs/events"; // Default directory for event store
|
|
pub const DEFAULT_LIMIT: u64 = 100000; // Default store limit
|
|
pub const DEFAULT_EXT: &str = ".unknown"; // Default file extension
|
|
pub const COMPRESS_EXT: &str = ".snappy"; // Extension for compressed files
|
|
|
|
/// STORE_EXTENSION - file extension of an event file in store
|
|
pub const STORE_EXTENSION: &str = ".event";
|