Skip to content

Commit

Permalink
perf: 第三方文件源任务支持无损更新 TencentBlueKing#3017
Browse files Browse the repository at this point in the history
1.解决循环依赖问题。
  • Loading branch information
jsonwan committed Jun 7, 2024
1 parent 35565c6 commit bf11224
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import com.tencent.bk.job.file.worker.state.event.WorkerEventService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

/**
Expand All @@ -53,7 +54,7 @@ public class WaitAccessEventHandler implements EventHandler {
private final String checkAccessUrl;

@Autowired
public WaitAccessEventHandler(WorkerEventService workerEventService,
public WaitAccessEventHandler(@Lazy WorkerEventService workerEventService,
WorkerStateMachine workerStateMachine,
JobHttpClient jobHttpClient,
WorkerConfig workerConfig,
Expand Down

0 comments on commit bf11224

Please sign in to comment.