This commit is contained in:
parent
f444137684
commit
cdc3ac4064
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user