Commit b817a404 authored by Pavel Vainerman's avatar Pavel Vainerman

Сменил heartbeat time по умолчанию на 3 сек.

parent a1fbe1d8
...@@ -105,7 +105,7 @@ namespace UniSetTypes ...@@ -105,7 +105,7 @@ namespace UniSetTypes
localNode(UniSetTypes::DefaultObjectId), localNode(UniSetTypes::DefaultObjectId),
localNodeName(""), localNodeName(""),
fileConfName(""), fileConfName(""),
heartbeat_msec(10000) heartbeat_msec(3000)
{ {
// ulog.crit()<< " configuration FAILED!!!!!!!!!!!!!!!!!" << endl; // ulog.crit()<< " configuration FAILED!!!!!!!!!!!!!!!!!" << endl;
// throw Exception(); // throw Exception();
...@@ -622,7 +622,7 @@ namespace UniSetTypes ...@@ -622,7 +622,7 @@ namespace UniSetTypes
heartbeat_msec = hit.getIntProp("msec"); heartbeat_msec = hit.getIntProp("msec");
if( heartbeat_msec <= 0 ) if( heartbeat_msec <= 0 )
heartbeat_msec = 5000; heartbeat_msec = 3000;
} }
} }
// ------------------------------------------------------------------------- // -------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment