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

nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git


The following commit(s) were added to refs/heads/main by this push:
     new 6cae3981 [Improvement] Add EnableScheduling annotation to the main 
class (#343)
6cae3981 is described below

commit 6cae3981b5f9d9b9474de8ee1a38011c23668bc6
Author: s7monk <[email protected]>
AuthorDate: Tue Jun 11 18:49:47 2024 +0800

    [Improvement] Add EnableScheduling annotation to the main class (#343)
---
 .../org/apache/paimon/web/server/PaimonWebServerApplication.java | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git 
a/paimon-web-server/src/main/java/org/apache/paimon/web/server/PaimonWebServerApplication.java
 
b/paimon-web-server/src/main/java/org/apache/paimon/web/server/PaimonWebServerApplication.java
index de562356..a4d5e153 100644
--- 
a/paimon-web-server/src/main/java/org/apache/paimon/web/server/PaimonWebServerApplication.java
+++ 
b/paimon-web-server/src/main/java/org/apache/paimon/web/server/PaimonWebServerApplication.java
@@ -20,16 +20,13 @@ package org.apache.paimon.web.server;
 
 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
-/** Paimon Manager Server Application. */
+/** Paimon Web Server Application. */
 @SpringBootApplication
+@EnableScheduling
 public class PaimonWebServerApplication {
 
-    /**
-     * Main.
-     *
-     * @param args args
-     */
     public static void main(String[] args) {
         SpringApplication.run(PaimonWebServerApplication.class, args);
     }

Reply via email to