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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
dfb0d45d
Commit
dfb0d45d
authored
Jun 06, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename worker to ArchiveTracesCronWorker
parent
96d00884
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
app/workers/all_queues.yml
app/workers/all_queues.yml
+1
-1
app/workers/ci/archive_traces_cron_worker.rb
app/workers/ci/archive_traces_cron_worker.rb
+1
-1
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+3
-3
spec/workers/ci/archive_traces_cron_worker_spec.rb
spec/workers/ci/archive_traces_cron_worker_spec.rb
+1
-1
No files found.
app/workers/all_queues.yml
View file @
dfb0d45d
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
-
cronjob:stuck_ci_jobs
-
cronjob:stuck_ci_jobs
-
cronjob:stuck_import_jobs
-
cronjob:stuck_import_jobs
-
cronjob:stuck_merge_jobs
-
cronjob:stuck_merge_jobs
-
cronjob:ci_
rescue_stale_live_trace
-
cronjob:ci_
archive_traces_cron
-
cronjob:trending_projects
-
cronjob:trending_projects
-
cronjob:issue_due_scheduler
-
cronjob:issue_due_scheduler
...
...
app/workers/ci/
rescue_stale_live_trace
_worker.rb
→
app/workers/ci/
archive_traces_cron
_worker.rb
View file @
dfb0d45d
module
Ci
module
Ci
class
RescueStaleLiveTrace
Worker
class
ArchiveTracesCron
Worker
include
ApplicationWorker
include
ApplicationWorker
include
CronjobQueue
include
CronjobQueue
...
...
config/initializers/1_settings.rb
View file @
dfb0d45d
...
@@ -289,9 +289,9 @@ Settings.cron_jobs['repository_archive_cache_worker']['job_class'] = 'Repository
...
@@ -289,9 +289,9 @@ Settings.cron_jobs['repository_archive_cache_worker']['job_class'] = 'Repository
Settings
.
cron_jobs
[
'import_export_project_cleanup_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'import_export_project_cleanup_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'import_export_project_cleanup_worker'
][
'cron'
]
||=
'0 * * * *'
Settings
.
cron_jobs
[
'import_export_project_cleanup_worker'
][
'cron'
]
||=
'0 * * * *'
Settings
.
cron_jobs
[
'import_export_project_cleanup_worker'
][
'job_class'
]
=
'ImportExportProjectCleanupWorker'
Settings
.
cron_jobs
[
'import_export_project_cleanup_worker'
][
'job_class'
]
=
'ImportExportProjectCleanupWorker'
Settings
.
cron_jobs
[
'ci_
rescue_stale_live_trace
_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'ci_
archive_traces_cron
_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'ci_
rescue_stale_live_trace
_worker'
][
'cron'
]
||=
'17 * * * *'
Settings
.
cron_jobs
[
'ci_
archive_traces_cron
_worker'
][
'cron'
]
||=
'17 * * * *'
Settings
.
cron_jobs
[
'ci_
rescue_stale_live_trace_worker'
][
'job_class'
]
=
'Ci::RescueStaleLiveTrace
Worker'
Settings
.
cron_jobs
[
'ci_
archive_traces_cron_worker'
][
'job_class'
]
=
'Ci::ArchiveTracesCron
Worker'
Settings
.
cron_jobs
[
'requests_profiles_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'requests_profiles_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'requests_profiles_worker'
][
'cron'
]
||=
'0 0 * * *'
Settings
.
cron_jobs
[
'requests_profiles_worker'
][
'cron'
]
||=
'0 0 * * *'
Settings
.
cron_jobs
[
'requests_profiles_worker'
][
'job_class'
]
=
'RequestsProfilesWorker'
Settings
.
cron_jobs
[
'requests_profiles_worker'
][
'job_class'
]
=
'RequestsProfilesWorker'
...
...
spec/workers/ci/
rescue_stale_live_trace
_worker_spec.rb
→
spec/workers/ci/
archive_traces_cron
_worker_spec.rb
View file @
dfb0d45d
require
'spec_helper'
require
'spec_helper'
describe
Ci
::
RescueStaleLiveTrace
Worker
do
describe
Ci
::
ArchiveTracesCron
Worker
do
subject
{
described_class
.
new
.
perform
}
subject
{
described_class
.
new
.
perform
}
before
do
before
do
...
...
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