service handler bug fixed
parent
08e99385b9
commit
19b3477560
|
|
@ -20,7 +20,7 @@
|
|||
"hostname": "ya.ru",
|
||||
"port": 443,
|
||||
"triggers": {
|
||||
"wait": 5,
|
||||
"wait": 2,
|
||||
"onLost": "stop"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ pub mod v2 {
|
|||
.map(|(prc, (_, sender_opt))| (prc, (self.access_url.clone(), sender_opt)))
|
||||
.map(|(prc, (serv, sender_opt))| async move {
|
||||
info!("Notifying process {} ...", prc);
|
||||
let _ = sender_opt.send(Events::Positive(serv.clone()));
|
||||
let _ = sender_opt.send(Events::Positive(serv.clone())).await;
|
||||
})
|
||||
.map(|fut| fut.boxed())
|
||||
.collect();
|
||||
|
|
|
|||
Loading…
Reference in New Issue