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
702c734a
Commit
702c734a
authored
Dec 20, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix name of ClearSharedRunnersMinutesWorker
parent
5f9f6ca3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
app/workers/clear_shared_runner_minutes_worker.rb
app/workers/clear_shared_runner_minutes_worker.rb
+1
-1
config/initializers/1_settings.rb
config/initializers/1_settings.rb
+1
-1
spec/workers/clear_shared_runners_minutes_worker_spec.rb
spec/workers/clear_shared_runners_minutes_worker_spec.rb
+1
-1
No files found.
app/workers/clear_shared_runner_minutes_worker.rb
View file @
702c734a
class
ClearSharedRunnerMinutesWorker
class
ClearSharedRunner
s
MinutesWorker
LEASE_TIMEOUT
=
3600
include
Sidekiq
::
Worker
...
...
config/initializers/1_settings.rb
View file @
702c734a
...
...
@@ -412,7 +412,7 @@ Settings.cron_jobs['remove_unreferenced_lfs_objects_worker']['job_class'] = 'Rem
Settings
.
cron_jobs
[
'clear_shared_runners_minutes_worker'
]
||=
Settingslogic
.
new
({})
Settings
.
cron_jobs
[
'clear_shared_runners_minutes_worker'
][
'cron'
]
||=
'0 0 1 * *'
Settings
.
cron_jobs
[
'clear_shared_runners_minutes_worker'
][
'job_class'
]
=
'ClearSharedRunnerMinutesWorker'
Settings
.
cron_jobs
[
'clear_shared_runners_minutes_worker'
][
'job_class'
]
=
'ClearSharedRunner
s
MinutesWorker'
#
# GitLab Shell
...
...
spec/workers/clea
n_shared_runner
_minutes_worker_spec.rb
→
spec/workers/clea
r_shared_runners
_minutes_worker_spec.rb
View file @
702c734a
require
'spec_helper'
describe
ClearSharedRunnerMinutesWorker
do
describe
ClearSharedRunner
s
MinutesWorker
do
let
(
:worker
)
{
described_class
.
new
}
describe
'#perform'
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