mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
feature #ICUMKV 全面支持jdk21,以及支持jdk21中的虚拟线程
This commit is contained in:
@@ -529,7 +529,7 @@ public class LiteflowConfig {
|
|||||||
|
|
||||||
public Boolean getEnableVirtualThread() {
|
public Boolean getEnableVirtualThread() {
|
||||||
if (ObjectUtil.isNull(enableVirtualThread)) {
|
if (ObjectUtil.isNull(enableVirtualThread)) {
|
||||||
return Boolean.FALSE;
|
return Boolean.TRUE;
|
||||||
} else {
|
} else {
|
||||||
return enableVirtualThread;
|
return enableVirtualThread;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,7 +212,7 @@
|
|||||||
"type": "java.lang.Boolean",
|
"type": "java.lang.Boolean",
|
||||||
"description": "Whether to enable virtual threads(Only in jdk21).",
|
"description": "Whether to enable virtual threads(Only in jdk21).",
|
||||||
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
|
"sourceType": "com.yomahub.liteflow.springboot.LiteflowProperty",
|
||||||
"defaultValue": false
|
"defaultValue": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "liteflow.chain-cache.enabled",
|
"name": "liteflow.chain-cache.enabled",
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ liteflow.global-thread-pool-size=64
|
|||||||
liteflow.global-thread-pool-queue-size=512
|
liteflow.global-thread-pool-queue-size=512
|
||||||
liteflow.global-thread-pool-executor-class=com.yomahub.liteflow.thread.LiteFlowDefaultGlobalExecutorBuilder
|
liteflow.global-thread-pool-executor-class=com.yomahub.liteflow.thread.LiteFlowDefaultGlobalExecutorBuilder
|
||||||
liteflow.enable-node-instance-id=false
|
liteflow.enable-node-instance-id=false
|
||||||
liteflow.enable-virtual-thread=false
|
liteflow.enable-virtual-thread=true
|
||||||
liteflow.chain-cache.enabled=false
|
liteflow.chain-cache.enabled=false
|
||||||
liteflow.chain-cache.capacity=10000
|
liteflow.chain-cache.capacity=10000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user