debian-mirror-gitlab/app/workers/requests_profiles_worker.rb
2016-09-13 17:45:13 +05:30

9 lines
163 B
Ruby

class RequestsProfilesWorker
include Sidekiq::Worker
sidekiq_options queue: :default
def perform
Gitlab::RequestProfiler.remove_all_profiles
end
end