cas_lib/http/types/
runtime.rs1
2use once_cell::sync::Lazy;
3use tokio::runtime::Runtime;
4
5pub static RUNTIME: Lazy<Runtime> = Lazy::new(|| {
6 tokio::runtime::Builder::new_multi_thread()
7 .enable_all()
8 .worker_threads(4)
9 .build()
10 .unwrap()
11});