mirror of https://github.com/halo-dev/halo
perf: disable syncAllOnStart for tag reconciler (#3316)
#### What type of PR is this? /kind improvement #### What this PR does / why we need it: 暂时禁用 Tag Reconciler 在启动的时候同步。(临时解决方案) #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3312 #### Does this PR introduce a user-facing change? ```release-note 禁用系统启动时同步标签文章数的功能 ```pull/3322/head
parent
e71b79b1cf
commit
dd161eec19
|
@ -53,6 +53,7 @@ public class TagReconciler implements Reconciler<Reconciler.Request> {
|
||||||
@Override
|
@Override
|
||||||
public Controller setupWith(ControllerBuilder builder) {
|
public Controller setupWith(ControllerBuilder builder) {
|
||||||
return builder
|
return builder
|
||||||
|
.syncAllOnStart(false)
|
||||||
.extension(new Tag())
|
.extension(new Tag())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue