1
0
Fork 0

cluster start on fmh succeeds, however slow

This commit is contained in:
Kaveh Vahedipour 2016-04-20 16:12:48 +02:00
parent 83f380aa2b
commit 2637666698
3 changed files with 6 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void ClusterInfo::createInstance(AgencyCallbackRegistry* agencyCallbackRegistry)
/// @brief returns an instance of the cluster info class
////////////////////////////////////////////////////////////////////////////////
ClusterInfo* ClusterInfo::instance() { return _instance.get(); }
ClusterInfo* ClusterInfo::instance() { return _instance.get(); }
////////////////////////////////////////////////////////////////////////////////
/// @brief creates a cluster info object

View File

@ -59,6 +59,10 @@ std::string Endpoint::uriForm (std::string const& endpoint) {
return "http://" + endpoint.substr(11);
} else if (StringUtils::isPrefix(endpoint, "http+ssl://")) {
return "https://" + endpoint.substr(11);
} else if (StringUtils::isPrefix(endpoint, "tcp://")) {
return "http://" + endpoint.substr(6);
} else if (StringUtils::isPrefix(endpoint, "ssl://")) {
return "https://" + endpoint.substr(6);
} else {
return illegal;
}

View File

@ -51,6 +51,7 @@ build/bin/arangod -c etc/relative/arangod.conf \
--server.threads 16 \
--javascript.app-path ./js/apps \
--javascript.startup-directory ./js \
-c none \
> cluster/4001.stdout 2>&1 &
sleep 1