fuchanghai commented on code in PR #15380:
URL:
https://github.com/apache/dolphinscheduler/pull/15380#discussion_r1448556099
##########
dolphinscheduler-worker/src/main/java/org/apache/dolphinscheduler/server/worker/registry/WorkerWaitingStrategy.java:
##########
@@ -52,6 +53,16 @@ public class WorkerWaitingStrategy implements
WorkerConnectStrategy {
@Autowired
private WorkerTaskExecutorThreadPool workerManagerThread;
+ public WorkerWaitingStrategy(@NonNull WorkerConfig workerConfig,
Review Comment:
hi @pegasas Through the @Service annotation, I judge that this class is a
singleton and injected into the spring container, so is this constructor
necessary? Where is it used? Is there anything I haven't noticed?
--
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]