Skip to content

Commit 1ec23a8

Browse files
committed
CB/revert: Disable automatic hook sync which blocks startup for a while
1 parent 653f112 commit 1ec23a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func syncAppConfForGit(ctx context.Context) error {
9696

9797
if updated {
9898
log.Info("re-sync repository hooks ...")
99-
mustInitCtx(ctx, repo_service.SyncRepositoryHooks)
99+
// mustInitCtx(ctx, repo_service.SyncRepositoryHooks)
100100

101101
log.Info("re-write ssh public keys ...")
102102
mustInit(asymkey_model.RewriteAllPublicKeys)

0 commit comments

Comments
 (0)