File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -142,11 +142,11 @@ func NewQueueService() {
142142
143143 // Handle the old test pull requests configuration
144144 // Please note this will be a unique queue
145- handleOldLengthConfiguration ("pr_patch_checker" , Repository . PullRequestQueueLength )
145+ handleOldLengthConfiguration ("pr_patch_checker" , Cfg . Section ( "repository" ). Key ( "PULL_REQUEST_QUEUE_LENGTH" ). MustInt ( 1000 ) )
146146
147147 // Handle the old mirror queue configuration
148148 // Please note this will be a unique queue
149- handleOldLengthConfiguration ("mirror" , Repository . MirrorQueueLength )
149+ handleOldLengthConfiguration ("mirror" , Cfg . Section ( "repository" ). Key ( "MIRROR_QUEUE_LENGTH" ). MustInt ( 1000 ) )
150150}
151151
152152// handleOldLengthConfiguration allows fallback to older configuration. `[queue.name]` `LENGTH` will override this configuration, but
Original file line number Diff line number Diff line change 2929 DefaultPrivate string
3030 DefaultPushCreatePrivate bool
3131 MaxCreationLimit int
32- MirrorQueueLength int
33- PullRequestQueueLength int
3432 PreferredLicenses []string
3533 DisableHTTPGit bool
3634 AccessControlAllowOrigin string
@@ -142,8 +140,6 @@ var (
142140 DefaultPrivate : RepoCreatingLastUserVisibility ,
143141 DefaultPushCreatePrivate : true ,
144142 MaxCreationLimit : - 1 ,
145- MirrorQueueLength : 1000 ,
146- PullRequestQueueLength : 1000 ,
147143 PreferredLicenses : []string {"Apache License 2.0" , "MIT License" },
148144 DisableHTTPGit : false ,
149145 AccessControlAllowOrigin : "" ,
You can’t perform that action at this time.
0 commit comments