partially revert 9a9c071e82
; use std threads for db pool.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
925061b92d
commit
d36167ab64
4 changed files with 80 additions and 67 deletions
|
@ -19,7 +19,7 @@ use crate::clap::Args;
|
|||
const WORKER_NAME: &str = "conduwuit:worker";
|
||||
const WORKER_MIN: usize = 2;
|
||||
const WORKER_KEEPALIVE: u64 = 36;
|
||||
const MAX_BLOCKING_THREADS: usize = 2048;
|
||||
const MAX_BLOCKING_THREADS: usize = 1024;
|
||||
|
||||
static WORKER_AFFINITY: OnceLock<bool> = OnceLock::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue