Skip to content

Commit

Permalink
Merge pull request #20497 from agrare/smart_proxy_worker_not_running_…
Browse files Browse the repository at this point in the history
…in_podified

MiqSmartProxyWorker not running in Podified

(cherry picked from commit ff7f15b)
  • Loading branch information
Fryguy authored and simaishi committed Aug 31, 2020
1 parent 4401aee commit ff39526
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/models/miq_smart_proxy_worker.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
class MiqSmartProxyWorker < MiqQueueWorkerBase
include MiqWorker::ReplicaPerWorker

require_nested :Runner

self.required_roles = ["smartproxy"]
self.default_queue_name = "smartproxy"

def self.supports_container?
true
end

def self.kill_priority
MiqWorkerType::KILL_PRIORITY_SMART_PROXY_WORKERS
end
Expand Down

0 comments on commit ff39526

Please sign in to comment.