2018-06-27 07:23:28 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-07-15 15:46:39 +00:00
|
|
|
class RequestsProfilesWorker
|
2017-11-28 16:08:30 +00:00
|
|
|
include ApplicationWorker
|
2020-02-10 12:08:59 +00:00
|
|
|
# rubocop:disable Scalability/CronWorkerContext
|
|
|
|
# This worker does not perform work scoped to a context
|
|
|
|
include CronjobQueue
|
|
|
|
# rubocop:enable Scalability/CronWorkerContext
|
2016-07-15 15:46:39 +00:00
|
|
|
|
2019-10-18 11:11:44 +00:00
|
|
|
feature_category :source_code_management
|
|
|
|
|
2016-07-15 15:46:39 +00:00
|
|
|
def perform
|
|
|
|
Gitlab::RequestProfiler.remove_all_profiles
|
|
|
|
end
|
|
|
|
end
|