Skip to content

Commit

Permalink
[release-2.12] chore: remove unnecessary indices build process for lu…
Browse files Browse the repository at this point in the history
…cene on startup (#5333)

This is an automated cherry-pick of #5332

/assign guqing

```release-note
移除启动时不必要的搜索引擎索引构建步骤
```
  • Loading branch information
halo-dev-bot authored Feb 5, 2024
1 parent 7da4968 commit 46efa87
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
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;
Expand Down

0 comments on commit 46efa87

Please sign in to comment.