updated loop timeout
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-04-23 09:57:38 +02:00
parent f444137684
commit cdc3ac4064

View File

@ -18,6 +18,7 @@ use tokio::sync::RwLock;
pub const PKG_NAME: &str = env!("CARGO_PKG_NAME");
const BL_CHAN_SIZE: usize = 32;
const WS_CHAN_SIZE: usize = 64;
const LOOPSLEEP: u64 = 500;
pub async fn run() {
let globalctx = Context::new().await;
@ -107,7 +108,7 @@ pub async fn run() {
}
}
}
_val = sleep_ms(50) => {}
_val = sleep_ms(LOOPSLEEP) => {}
};
let ctxclone = Arc::clone(&ctxarc);