Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
import java.util.stream.Collectors;

import static com.google.common.base.Preconditions.checkArgument;
import org.springframework.context.annotation.Lazy;

/**
* 机器接口的实现
Expand All @@ -76,6 +77,7 @@ public class MachineCenterImpl implements MachineCenter {
@Autowired
private MachineDao machineDao;
@Autowired
@Lazy
private RedisCenter redisCenter;
@Autowired
private AppDao appDao;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
import org.springframework.context.annotation.Lazy;

/**
* @Author: zengyizhao
Expand All @@ -69,6 +70,7 @@ public class AppScrollRestartServiceImpl implements AppScrollRestartService {
private InstanceConfigDao instanceConfigDao;

@Autowired
@Lazy
private RedisCenter redisCenter;

@Autowired
Expand Down