Skip to content

Commit 7b3961a

Browse files
fnetXOtto Richter
authored andcommitted
CB/revert: Disable automatic hook sync which blocks startup for a while
1 parent bf03b66 commit 7b3961a

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
@@ -97,7 +97,7 @@ func syncAppConfForGit(ctx context.Context) error {
9797

9898
if updated {
9999
log.Info("re-sync repository hooks ...")
100-
mustInitCtx(ctx, repo_service.SyncRepositoryHooks)
100+
// mustInitCtx(ctx, repo_service.SyncRepositoryHooks)
101101

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

0 commit comments

Comments
 (0)