Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
99fd2b1e
Commit
99fd2b1e
authored
Mar 16, 2021
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable one-by-one build queuing iteration by default
parent
eef5dd03
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/services/ci/register_job_service.rb
app/services/ci/register_job_service.rb
+1
-1
config/feature_flags/development/ci_register_job_service_one_by_one.yml
..._flags/development/ci_register_job_service_one_by_one.yml
+1
-1
No files found.
app/services/ci/register_job_service.rb
View file @
99fd2b1e
...
@@ -105,7 +105,7 @@ module Ci
...
@@ -105,7 +105,7 @@ module Ci
builds
=
builds
.
queued_before
(
params
[
:job_age
].
seconds
.
ago
)
builds
=
builds
.
queued_before
(
params
[
:job_age
].
seconds
.
ago
)
end
end
if
Feature
.
enabled?
(
:ci_register_job_service_one_by_one
,
runner
)
if
Feature
.
enabled?
(
:ci_register_job_service_one_by_one
,
runner
,
default_enabled:
true
)
build_ids
=
builds
.
pluck
(
:id
)
build_ids
=
builds
.
pluck
(
:id
)
@metrics
.
observe_queue_size
(
->
{
build_ids
.
size
})
@metrics
.
observe_queue_size
(
->
{
build_ids
.
size
})
...
...
config/feature_flags/development/ci_register_job_service_one_by_one.yml
View file @
99fd2b1e
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/323177
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/323177
milestone
:
'
13.10'
milestone
:
'
13.10'
type
:
development
type
:
development
group
:
group::memory
group
:
group::memory
default_enabled
:
fals
e
default_enabled
:
tru
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment