This commit is contained in:
parent
c9998cad57
commit
2f428470e1
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,7 @@ pub(crate) async fn run(data: Arc<RwLock<SharedData>>) {
|
|||
Ok(data) => data,
|
||||
Err(e) => panic!("{}", e),
|
||||
};
|
||||
write.messages.push(Message::Info("Config reloaded".to_string()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -101,6 +102,8 @@ pub(crate) async fn run(data: Arc<RwLock<SharedData>>) {
|
|||
continue
|
||||
}
|
||||
};
|
||||
let mut write = data.write().await;
|
||||
write.messages.push(Message::Info("Communities reloaded".to_string()));
|
||||
last_reload = Utc::now();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue