|
|
|
@ -61,7 +61,7 @@ public class MicroPhotoContext {
|
|
|
|
|
public int heartbeat; // Unit minute
|
|
|
|
|
public int quickHeartbeat; // Unit second
|
|
|
|
|
public int[] absHeartbeats; // second
|
|
|
|
|
public int separateNetwork;
|
|
|
|
|
public int separateNetwork = 1; // Default is 1
|
|
|
|
|
public int mpappMonitorTimeout = 30 * 60000; // 30 minutes
|
|
|
|
|
public int timeForKeepingLogs = 15; // Unit day
|
|
|
|
|
|
|
|
|
@ -270,7 +270,7 @@ public class MicroPhotoContext {
|
|
|
|
|
masterConfig.mntnMode = jsonObject.optInt("mntnMode", 0);
|
|
|
|
|
masterConfig.quickHbMode = jsonObject.optInt("quickHbMode", 0);
|
|
|
|
|
masterConfig.usingAbsHbTime = jsonObject.optInt("usingAbsHbTime", 0);
|
|
|
|
|
masterConfig.separateNetwork = jsonObject.optInt("separateNetwork", 0);
|
|
|
|
|
masterConfig.separateNetwork = jsonObject.optInt("separateNetwork", 1);
|
|
|
|
|
masterConfig.timeForKeepingLogs = jsonObject.optInt("timeForKeepingLogs", 15);
|
|
|
|
|
|
|
|
|
|
// masterConfig.mpappMonitorTimeout = jsonObject.optInt("mpappMonitorTimeout", 30 * 60000);
|
|
|
|
|