Merge branch 'master' of https://github.com/sogou/workflow into nossl

This commit is contained in:
Xie Han
2024-11-20 17:44:11 +08:00
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -360,7 +360,6 @@ int UPSGroupPolicy::remove_server_locked(const std::string& address)
else
vec = &group->backups;
//std::lock_guard<std::mutex> lock(group->mutex);
pthread_mutex_lock(&group->mutex);
if (params->server_type == 0)
group->weight -= params->weight;
-1
View File
@@ -354,7 +354,6 @@ bool WFServiceGovernance::select(const ParsedURI& uri, WFNSTracing *tracing,
return false;
}
// select_addr == NULL will only happened in consistent_hash
EndpointAddress *select_addr = this->first_strategy(uri, tracing);
if (!select_addr ||