Merge pull request #184 from vfdev-5/typos
This commit is contained in:
1 file changed
+4
-4
+4
-4
@@ -104,7 +104,7 @@ pub(crate) async fn main(_opt: Opt, reactor: NeoReactor) -> Result<()> {
|
||||
loop {
|
||||
thread_config.changed().await?;
|
||||
if let Err(e) = thread_rtsp.set_up_tls(&thread_config.borrow().clone()) {
|
||||
log::error!("Could not seup TLS: {e}");
|
||||
log::error!("Could not setup TLS: {e}");
|
||||
}
|
||||
}
|
||||
} => v
|
||||
@@ -128,7 +128,7 @@ pub(crate) async fn main(_opt: Opt, reactor: NeoReactor) -> Result<()> {
|
||||
|
||||
let config = thread_config.borrow().clone();
|
||||
if let Err(e) = apply_users(&thread_rtsp, &curr_users).await {
|
||||
log::error!("Could not seup TLS: {e}");
|
||||
log::error!("Could not setup TLS: {e}");
|
||||
}
|
||||
|
||||
if config.certificate.is_none() && !curr_users.is_empty() {
|
||||
@@ -162,7 +162,7 @@ pub(crate) async fn main(_opt: Opt, reactor: NeoReactor) -> Result<()> {
|
||||
|
||||
for name in config_names.iter() {
|
||||
if ! cameras.contains_key(name) {
|
||||
log::info!("{name}: Rtsp Staring");
|
||||
log::info!("{name}: Rtsp Starting");
|
||||
let local_cancel = CancellationToken::new();
|
||||
cameras.insert(name.clone(),local_cancel.clone() );
|
||||
let thread_global_cancel = thread_cancel2.clone();
|
||||
@@ -186,7 +186,7 @@ pub(crate) async fn main(_opt: Opt, reactor: NeoReactor) -> Result<()> {
|
||||
|
||||
for (running_name, token) in cameras.iter() {
|
||||
if ! config_names.contains(running_name) {
|
||||
log::debug!("Rtsp::main Cancel1");
|
||||
log::debug!("Rtsp::main Cancel!");
|
||||
token.cancel();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user