FalconSL commented on code in PR #15933:
URL: 
https://github.com/apache/dolphinscheduler/pull/15933#discussion_r1609779800


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/UiPluginServiceImpl.java:
##########
@@ -82,4 +94,18 @@ public Map<String, Object> queryUiPluginDetailById(int id) {
         return result;
     }
 
+    @Override
+    public ProductInfoDto queryProductInfo(User loginUser) {
+
+        // persist to the database
+        dsVersion = 
dsVersionDao.selectVersion().map(DsVersion::getVersion).orElse("unknown");
+

Review Comment:
   Okay, I have changed the scheduling interface to querying the database once 
during initialization, for avoiding wasting database resources caused by 
multiple scheduling, and changed the interface type from post to get
   
![1716376825174](https://github.com/apache/dolphinscheduler/assets/45991723/0ca1de8d-8695-4a7e-90e3-e561fac4baf9)
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to