geosmart edited a comment on issue #7516:
URL: 
https://github.com/apache/dolphinscheduler/issues/7516#issuecomment-1004724578


   what about add a busy indicator to decrease the log print
   
   like this : the log only print 1 time in 60 second
   
   ```java
   var interval = 0
   
   if (worker.isBusy()){
          if(interval==60){
                  logger.info(''xxx'')
              interval = 0
          }
          interval++
          sleep(1s)
   }else{
     //
   }
   ```


-- 
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