You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/01/04 11:19:09 UTC
[GitHub] [dolphinscheduler] geosmart commented on issue #7516: [Feature][Master] Optimize master log output
geosmart commented 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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org