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:
parent
5f7636f177
commit
71673b2a88
6 changed files with 212 additions and 54 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue