mirror of https://gitee.com/bigwinds/arangodb
cluster start on fmh succeeds, however slow
This commit is contained in:
parent
83f380aa2b
commit
2637666698
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue