mirror of
https://gitee.com/BDWare/common
synced 2025-01-09 01:14:06 +00:00
update system var: BDW_SOCKET_TIMEOUT
This commit is contained in:
parent
eff8d37278
commit
52aa2af997
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user