-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace wait_for_worker_monitor with delay_startup_for_vim_broker
This continues the work of 9e99ba0 to morph wait_for_worker_monitor into what it actually has become under the covers. Additionally, there is the similarly named requires_vim_broker, which really means to delay the queue delivery loop when the broker goes down. This commit renames that for clarity (with a temporary alias until we can change the callers).
- Loading branch information
Showing
7 changed files
with
24 additions
and
38 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
app/models/manageiq/providers/base_manager/metrics_collector_worker/runner.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
class ManageIQ::Providers::BaseManager::MetricsCollectorWorker::Runner < ::MiqQueueWorkerBase::Runner | ||
self.wait_for_worker_monitor = true # NOTE: Really means wait for broker to start for ems_metrics_collector role, TODO: only for VMware | ||
self.delay_startup_for_vim_broker = true # NOTE: For ems_metrics_collector role, TODO: only for VMware | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
class MiqGenericWorker::Runner < MiqQueueWorkerBase::Runner | ||
self.wait_for_worker_monitor = true # NOTE: Really means wait for broker to start because of ems_operations and smartstate roles | ||
self.delay_startup_for_vim_broker = true # NOTE: For ems_operations and smartstate roles | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
class MiqSmartProxyWorker::Runner < MiqQueueWorkerBase::Runner | ||
self.wait_for_worker_monitor = true # NOTE: Really means wait for broker to start for smartproxy role | ||
self.delay_startup_for_vim_broker = true # NOTE: For smartproxy role | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.