bugfix: 获取第三方设备的状态
This commit is contained in:
@@ -1048,7 +1048,7 @@ static enum session_action select_sf_by_ldbc(uint64_t hash, struct sff_param *sf
|
|||||||
sf_profile_id = fixed_num_array_index_elem(array, sf_profile_index);
|
sf_profile_id = fixed_num_array_index_elem(array, sf_profile_index);
|
||||||
sf_is_active = health_check_session_get_status(sf_profile_id);
|
sf_is_active = health_check_session_get_status(sf_profile_id);
|
||||||
|
|
||||||
if (sf_is_active)
|
if (sf_is_active == 1)
|
||||||
{
|
{
|
||||||
__atomic_fetch_add(&g_metrics->sf_active_times, 1, __ATOMIC_RELAXED);
|
__atomic_fetch_add(&g_metrics->sf_active_times, 1, __ATOMIC_RELAXED);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user