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

hefengen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new b665cebc2e [type:bugfix] fix http sync ci error (#5772)
b665cebc2e is described below

commit b665cebc2ee214208c0cc3a778d8f0ca34443cfa
Author: aias00 <liuhon...@apache.org>
AuthorDate: Mon Nov 11 21:17:29 2024 +0800

    [type:bugfix] fix http sync ci error (#5772)
---
 .../apache/shenyu/admin/config/HttpLongPollingSyncConfiguration.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/HttpLongPollingSyncConfiguration.java
 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/HttpLongPollingSyncConfiguration.java
index 3535d8602c..a974535754 100644
--- 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/HttpLongPollingSyncConfiguration.java
+++ 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/config/HttpLongPollingSyncConfiguration.java
@@ -30,7 +30,6 @@ import org.springframework.context.annotation.Configuration;
  */
 @Configuration
 @EnableConfigurationProperties(HttpSyncProperties.class)
-@ConditionalOnProperty(name = "shenyu.sync.http.enabled", havingValue = "true")
 public class HttpLongPollingSyncConfiguration {
 
     /**
@@ -40,6 +39,7 @@ public class HttpLongPollingSyncConfiguration {
      * @return {@link HttpLongPollingDataChangedListener}
      */
     @Bean
+    @ConditionalOnProperty(name = "shenyu.sync.http.enabled", havingValue = 
"true")
     @ConditionalOnMissingBean(HttpLongPollingDataChangedListener.class)
     public HttpLongPollingDataChangedListener 
httpLongPollingDataChangedListener(final HttpSyncProperties httpSyncProperties) 
{
         return new HttpLongPollingDataChangedListener(httpSyncProperties);

Reply via email to