This commit is contained in:
Bojan Serafimov
2022-06-15 09:49:07 -04:00
parent 865e8740a7
commit 9a9a58d52c

View File

@@ -91,8 +91,8 @@ pub fn start_compaction_loop(tenantid: ZTenantId) -> Result<()> {
pub fn init_tenant_task_pool() -> Result<()> {
let runtime = tokio::runtime::Builder::new_multi_thread()
.thread_name("tenant-task-worker")
.worker_threads(40) // Way more than necessary
.max_blocking_threads(100) // Way more than necessary
.worker_threads(40) // Way more than necessary
.max_blocking_threads(100) // Way more than necessary
.enable_all()
.build()?;