Sidekiq doesn't properly support symbol (generate warning)

sites
aeris 8 months ago
parent 54a7edd061
commit 4bf0f9e1b1
  1. 2
      app/controllers/check_controller.rb

@ -41,7 +41,7 @@ class CheckController < ApplicationController
def enqueue_host
@analysis = Analysis.pending! self.type, @host, @args
CheckWorkflow.start! self.type, @analysis.host, *@analysis.args
CheckWorkflow.start! self.type.to_s, @analysis.host, *@analysis.args
end
def check_host

Loading…
Cancel
Save