log only in running state
This commit is contained in:
parent
651ed0edcc
commit
717764c586
@ -109,8 +109,6 @@ fn ingest_to_hls_server(
|
|||||||
log_line(line, &level);
|
log_line(line, &level);
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("Switch from live ingest to {}", config.processing.mode);
|
|
||||||
|
|
||||||
proc_control
|
proc_control
|
||||||
.server_is_running
|
.server_is_running
|
||||||
.store(false, Ordering::SeqCst);
|
.store(false, Ordering::SeqCst);
|
||||||
@ -122,6 +120,8 @@ fn ingest_to_hls_server(
|
|||||||
if proc_control.is_terminated.load(Ordering::SeqCst) {
|
if proc_control.is_terminated.load(Ordering::SeqCst) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
info!("Switch from live ingest to {}", config.processing.mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user