Commit 702c734a authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix name of ClearSharedRunnersMinutesWorker

parent 5f9f6ca3
class ClearSharedRunnerMinutesWorker
class ClearSharedRunnersMinutesWorker
LEASE_TIMEOUT = 3600
include Sidekiq::Worker
......
......@@ -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'] = 'ClearSharedRunnersMinutesWorker'
#
# GitLab Shell
......
require 'spec_helper'
describe ClearSharedRunnerMinutesWorker do
describe ClearSharedRunnersMinutesWorker do
let(:worker) { described_class.new }
describe '#perform' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment