add worker_affinity feature
split runtime init from main.rs Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user