This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch sync-period
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/sync-period by this push:
     new 6bcd47aa4d Fix
6bcd47aa4d is described below

commit 6bcd47aa4d00b4d738bad7b71e57297709a9c91f
Author: Wu Sheng <[email protected]>
AuthorDate: Mon Jun 26 15:47:24 2023 +0800

    Fix
---
 .../skywalking/oap/server/core/config/group/EndpointNameGrouping.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
index b3ccc3a671..c122db7fae 100644
--- 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
+++ 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
@@ -194,7 +194,8 @@ public class EndpointNameGrouping {
                                      httpUris.clear();
                                      
httpUriRecognitionSvr.feedRawData(serviceName, candidates4UriPatterns);
                                  });
-                             } else if 
(aiPipelineExecutionCounter.incrementAndGet() % 
syncPeriodHttpUriRecognitionPattern == 0) {
+                             }
+                             if (aiPipelineExecutionCounter.incrementAndGet() 
% syncPeriodHttpUriRecognitionPattern == 0) {
                                  // Sync with the recognition server per 1 min 
to get the latest patterns.
                                  try {
                                      metadataQueryService.listServices(null, 
null).forEach(

Reply via email to