server main: start gotham with one thread per cpu

This commit is contained in:
Astro 2021-08-28 19:22:20 +02:00
parent ebf76784e7
commit 84dc2023ee
1 changed files with 1 additions and 1 deletions

View File

@ -169,5 +169,5 @@ fn main() {
.build()
);
});
gotham::start("0.0.0.0:8400", router);
gotham::start_with_num_threads("0.0.0.0:8400", router, cpus);
}