This commit is contained in:
redkale
2023-12-10 17:18:07 +08:00
parent 5b6c978620
commit d589eef853
2 changed files with 8 additions and 1 deletions

View File

@@ -41,6 +41,13 @@
-->
<executor threads="4"/>
<!--
【节点全局唯一】 @since 2.8.0
全局Serivce的缓存设置没配置该节点将自动创建一个。
enabled 是否开启缓存功能。默认: true
-->
<caching enabled="true"/>
<!--
【节点全局唯一】
第三方服务发现管理接口

View File

@@ -17,7 +17,7 @@ import java.util.function.Supplier;
*/
public final class Traces {
private static final boolean ENABLE = !Boolean.getBoolean("redkale.trace.disable");
private static final boolean ENABLE = "true".equalsIgnoreCase(System.getProperty("redkale.trace.enabled", "true"));
private static final String PROCESS_ID = UUID.randomUUID().toString().replace("-", "");