mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
perf: 标准预设 min_pool_size 降档至 1 消除单 VM CLI 启动回归
This commit is contained in:
@@ -44,10 +44,10 @@ impl KernelConfig {
|
||||
}
|
||||
}
|
||||
|
||||
/// 标准配置:默认 VM 池大小。
|
||||
/// 标准配置:默认 VM 池大小,池构造时同步预热 min_pool_size 个 Vm。
|
||||
pub fn standard() -> Self {
|
||||
Self {
|
||||
min_pool_size: 8,
|
||||
min_pool_size: 1,
|
||||
max_pool_size: Some(32),
|
||||
perm_interner_max_entries: None,
|
||||
max_steps: None,
|
||||
|
||||
Reference in New Issue
Block a user