We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3691ce commit 0694303Copy full SHA for 0694303
api/src/main/java/io/kafbat/ui/service/ApplicationInfoService.java
@@ -17,6 +17,7 @@
17
import org.springframework.boot.info.GitProperties;
18
import org.springframework.scheduling.annotation.Scheduled;
19
import org.springframework.stereotype.Service;
20
+import reactor.core.publisher.Mono;
21
22
@Service
23
public class ApplicationInfoService {
@@ -70,7 +71,7 @@ private List<EnabledFeaturesEnum> getEnabledFeatures() {
70
71
// updating on startup and every hour
72
@Scheduled(fixedRateString = "${github-release-info-update-rate:3600000}")
73
public void updateGithubReleaseInfo() {
- githubReleaseInfo.refresh().block();
74
+ githubReleaseInfo.refresh().subscribe();
75
}
76
77
0 commit comments