mirror of
https://github.com/sadoyan/aralez.git
synced 2026-10-23 06:01:35 +08:00
Optimized healthchecks and config file loading
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ struct TaggedAddress {
|
||||
}
|
||||
|
||||
pub async fn start(fp: String, mut toreturn: Sender<Configuration>) {
|
||||
let config = load_configuration(fp.as_str(), "filepath");
|
||||
let config = load_configuration(fp.as_str(), "filepath").await;
|
||||
let headers = DashMap::new();
|
||||
match config {
|
||||
Some(config) => {
|
||||
|
||||
Reference in New Issue
Block a user