mirror of
https://github.com/actix/examples
synced 2025-06-29 10:14:58 +02:00
chore: simplify cert-watch runtime
This commit is contained in:
@ -22,7 +22,7 @@ async fn index(req: HttpRequest) -> HttpResponse {
|
||||
)
|
||||
}
|
||||
|
||||
#[tokio::main(worker_threads = 2)]
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
async fn main() -> eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info"));
|
||||
|
Reference in New Issue
Block a user