gitlab-ce/app/workers/plugin_worker.rb

10 lines
165 B
Ruby

class PluginWorker
include ApplicationWorker
sidekiq_options retry: false
def perform(file_name, data)
Gitlab::Plugin.execute(file_name, data)
end
end