debian-mirror-gitlab/app/workers/requests_profiles_worker.rb

10 lines
163 B
Ruby
Raw Normal View History

2016-09-13 17:45:13 +05:30
class RequestsProfilesWorker
include Sidekiq::Worker
sidekiq_options queue: :default
def perform
Gitlab::RequestProfiler.remove_all_profiles
end
end