From c4a0a404735cdcfdcb805e9fed474c75110bca89 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sat, 22 Feb 2020 15:22:32 +0800 Subject: conf: overhaul repository settings (#5932) --- internal/db/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/db/pull.go') diff --git a/internal/db/pull.go b/internal/db/pull.go index b617a8c7..6f4f574b 100644 --- a/internal/db/pull.go +++ b/internal/db/pull.go @@ -26,7 +26,7 @@ import ( "gogs.io/gogs/internal/sync" ) -var PullRequestQueue = sync.NewUniqueQueue(conf.Repository.PullRequestQueueLength) +var PullRequestQueue = sync.NewUniqueQueue(1000) type PullRequestType int -- cgit v1.2.3