summaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-04-26 02:03:01 +0800
committerGitHub <noreply@github.com>2022-04-25 20:03:01 +0200
commit7c164d5a918c2461bbdf2a1ef79a20908c3259be (patch)
treeca46ea235e10fc43d081cd375df953e021390f0f /routers/init.go
parent257cea654cf1fb592fdb5eacc9c1d5a97611a3f1 (diff)
downloadgitea-7c164d5a918c2461bbdf2a1ef79a20908c3259be.tar.gz
gitea-7c164d5a918c2461bbdf2a1ef79a20908c3259be.zip
Use queue instead of memory queue in webhook send service (#19390)
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/init.go b/routers/init.go
index 88c393736e..403fab00cd 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -145,7 +145,7 @@ func GlobalInitInstalled(ctx context.Context) {
mustInit(stats_indexer.Init)
mirror_service.InitSyncMirrors()
- webhook.InitDeliverHooks()
+ mustInit(webhook.Init)
mustInit(pull_service.Init)
mustInit(task.Init)
mustInit(repo_migrations.Init)