disable freeze_process on windows

This commit is contained in:
[object Object] 2022-12-30 13:32:11 -08:00
parent 05dfd19d80
commit 540137b93e
No known key found for this signature in database
GPG Key ID: F9ECDF22D7D28727

View File

@ -57,6 +57,12 @@ pub fn load(matches: &ArgMatches) -> Config {
} }
}; };
#[cfg(windows)]
{
// Don't try to use unix APIs on windows
config.server.freeze_process = false;
}
config config
} }