mirror of https://github.com/halo-dev/halo
chore: remove unnecessary indices build process for lucene on startup (#5332)
#### What type of PR is this? /kind cleanup /area core /milestone 2.13.x #### What this PR does / why we need it: 移除启动时不必要的搜索引擎索引构建步骤 #### Does this PR introduce a user-facing change? ```release-note 移除启动时不必要的搜索引擎索引构建步骤 ```pull/5301/head^2
parent
06a44d05dc
commit
7341f9de6c
|
@ -5,11 +5,11 @@ import lombok.extern.slf4j.Slf4j;
|
|||
import org.springframework.boot.context.event.ApplicationStartedEvent;
|
||||
import org.springframework.context.event.EventListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.util.StopWatch;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
// @Component
|
||||
// TODO Remove this class on next version
|
||||
public class IndicesInitializer {
|
||||
|
||||
private final IndicesService indicesService;
|
||||
|
|
Loading…
Reference in New Issue