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
Ryan Wang 2023-02-15 18:16:12 +08:00 committed by GitHub
parent e71b79b1cf
commit dd161eec19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class TagReconciler implements Reconciler<Reconciler.Request> {
@Override
public Controller setupWith(ControllerBuilder builder) {
return builder
.syncAllOnStart(false)
.extension(new Tag())
.build();
}