mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 10:04:07 +02:00
log ownership on start
This commit is contained in:
parent
312a678973
commit
099ec46830
1 changed files with 7 additions and 0 deletions
|
|
@ -139,6 +139,13 @@ async fn run_loop(
|
||||||
None
|
None
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if let Some(server) = active_server.as_ref() {
|
||||||
|
info!(
|
||||||
|
server = debug(server),
|
||||||
|
"Taking ownership of existing server"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let next_start = start_schedule.upcoming(Utc).next().unwrap();
|
let next_start = start_schedule.upcoming(Utc).next().unwrap();
|
||||||
let next_stop = stop_schedule.upcoming(Utc).next().unwrap();
|
let next_stop = stop_schedule.upcoming(Utc).next().unwrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue