From 7c164d5a918c2461bbdf2a1ef79a20908c3259be Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 26 Apr 2022 02:03:01 +0800 Subject: Use queue instead of memory queue in webhook send service (#19390) --- routers/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/init.go') 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) -- cgit v1.2.3