add worker_affinity feature

split runtime init from main.rs

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2024-12-18 13:31:58 -05:00
1 parent 5f7636f177
commit 71673b2a88
6 files changed
+212 -54

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ pub(crate) struct Server {
}
impl Server {
pub(crate) fn build(
pub(crate) fn new(
args: &Args,
runtime: Option<&runtime::Handle>,
) -> Result<Arc<Self>, Error> {