Notify progression

This commit is contained in:
Pascal Engélibert 2026-03-12 16:45:56 +01:00
commit 1d9c288bc7
2 changed files with 18 additions and 6 deletions

View file

@ -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", &notify_addr).unwrap();
}
}
Subcommand::Server(subopt) => {
let records = RECORDS.init(record::read_record_file(&opt.record_file));