aboutsummaryrefslogtreecommitdiff
path: root/internal/db/pull.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-22 15:22:32 +0800
committerGitHub <noreply@github.com>2020-02-22 15:22:32 +0800
commitc4a0a404735cdcfdcb805e9fed474c75110bca89 (patch)
treed4ef0af7722425451f23b6ca06ef90a375a5f6bc /internal/db/pull.go
parentf59a68c531c680d4488d8d977798f6aa36551bfa (diff)
conf: overhaul repository settings (#5932)
Diffstat (limited to 'internal/db/pull.go')
1 files changed, 1 insertions, 1 deletions
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