Notify progression
This commit is contained in:
parent
dcbb27d869
commit
1d9c288bc7
2 changed files with 18 additions and 6 deletions
|
|
@ -154,13 +154,10 @@ async fn main() {
|
|||
subopt.certs.as_deref(),
|
||||
subopt.skip_verif,
|
||||
subopt.concurrency,
|
||||
subopt.notify_addr.as_deref(),
|
||||
subopt.debug,
|
||||
)
|
||||
.await;
|
||||
if let Some(notify_addr) = subopt.notify_addr {
|
||||
let socket = std::net::UdpSocket::bind("0.0.0.0:48567").unwrap();
|
||||
socket.send_to(b"done", ¬ify_addr).unwrap();
|
||||
}
|
||||
}
|
||||
Subcommand::Server(subopt) => {
|
||||
let records = RECORDS.init(record::read_record_file(&opt.record_file));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue