From 52aa2af997995b2bc866371e8a7da2f7b81c3517 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Tue, 24 Dec 2024 12:59:10 +0800 Subject: [PATCH] update system var: BDW_SOCKET_TIMEOUT --- src/main/base/org/bdware/sc/conn/SyncResult.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/base/org/bdware/sc/conn/SyncResult.java b/src/main/base/org/bdware/sc/conn/SyncResult.java index 836c9b0..1c60e7b 100644 --- a/src/main/base/org/bdware/sc/conn/SyncResult.java +++ b/src/main/base/org/bdware/sc/conn/SyncResult.java @@ -16,12 +16,13 @@ import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; public class SyncResult { + static Logger LOGGER = LogManager.getLogger(SyncResult.class); + public static final HashedWheelTimer HASHED_WHEEL_TIMER = new HashedWheelTimer(Executors.defaultThreadFactory(), 5, TimeUnit.MILLISECONDS, 2); static final String TimeoutStr = JsonUtil.toJson(new ContractResult(Status.Error, new JsonPrimitive("Timeout!"))); static long syncTime = getSyncTime(); - static Logger LOGGER = LogManager.getLogger(SyncResult.class); private static long getSyncTime() { long retVal;