mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-13 16:46:55 +00:00
fix
This commit is contained in:
@@ -11,6 +11,7 @@ pub(crate) async fn init_event_notifier(notifier_config: Option<String>) {
|
||||
} else {
|
||||
info!("event_config is empty");
|
||||
// rustfs_event::get_event_notifier_config().clone()
|
||||
NotifierConfig::default()
|
||||
};
|
||||
|
||||
info!("using event_config: {:?}", config);
|
||||
|
||||
+1
-1
@@ -510,7 +510,7 @@ async fn run(opt: config::Opt) -> Result<()> {
|
||||
GLOBAL_ConfigSys.init(store.clone()).await?;
|
||||
|
||||
// event system configuration
|
||||
// GLOBAL_EventSys.init(store.clone()).await?;
|
||||
// GLOBAL_EVENT_SYS.init(store.clone()).await?;
|
||||
|
||||
// Initialize event notifier
|
||||
event::init_event_notifier(opt.event_config).await;
|
||||
|
||||
Reference in New Issue
Block a user