Closed heliping closed 1 year ago
之前碰到过线程的问题,转了一圈发现actix是单线程的框架。 actix issue 的答复如下:
Since you are using atcix::main macro. It means you are running on a single thread runtime. calling tokio::task::spawn would not make your task run on other threads.
之前碰到过线程的问题,转了一圈发现actix是单线程的框架。 actix issue 的答复如下: