1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-31 04:08:30 +00:00

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 2024-12-17 14:32:54 +00:00 committed by strawberry
parent 5f7636f177
commit 71673b2a88
6 changed files with 212 additions and 54 deletions

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> {