Skip to content

Commit ec6611b

Browse files
fnetXCodeberg Admins @ build
authored andcommitted
CB/revert: Disable automatic hook sync which blocks startup for a while
1 parent 61c76a5 commit ec6611b

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)