1
0
Fork 0

Remove an unnecessary check.

This commit is contained in:
Max Neunhoeffer 2016-05-25 17:26:53 +02:00
parent 3f5b8e9768
commit e4ca111914
1 changed files with 0 additions and 5 deletions

View File

@ -400,11 +400,6 @@ void ClusterFeature::start() {
_agencyCallbackRegistry.get(),
_heartbeatInterval * 1000, 5);
if (_heartbeatThread == nullptr) {
LOG(FATAL) << "unable to start cluster heartbeat thread";
FATAL_ERROR_EXIT();
}
if (!_heartbeatThread->init() || !_heartbeatThread->start()) {
LOG(FATAL) << "heartbeat could not connect to agency endpoints ("
<< endpoints << ")";