debug: log user value in SSE loop
All checks were successful
Build MIPS Binary / build (push) Successful in 5m21s

This commit is contained in:
spinline
2026-02-09 23:55:57 +03:00
parent 3215b38272
commit a4fe8d065c

View File

@@ -108,6 +108,7 @@ pub fn provide_torrent_store() {
loop { loop {
let user_val = user_for_sse.get(); let user_val = user_for_sse.get();
log::debug!("SSE: user = {:?}", user_val);
if user_val.is_none() { if user_val.is_none() {
log::debug!("SSE: User not authenticated, waiting..."); log::debug!("SSE: User not authenticated, waiting...");
gloo_timers::future::TimeoutFuture::new(1000).await; gloo_timers::future::TimeoutFuture::new(1000).await;