mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-07-20 22:58:11 -07:00
installer: tokio runtime flavor current_thread
Slightly reduce binary size by using the smaller 'rt' feature and the current_thread runtime flavor in the installer, since there is no benefit to true multithreading.
This commit is contained in:
@@ -142,7 +142,7 @@ async fn run() -> Result<(), Error> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
async fn main() {
|
||||
if let Err(e) = run().await {
|
||||
eprintln!("{e:?}");
|
||||
|
||||
Reference in New Issue
Block a user