Skip to content

Commit 6ac3716

Browse files
committed
Add allow_targeted_refresh? to Vmware InfraManager
While not actually used by the VMware streaming refresh worker, not having allow_targeted_refresh? defined meant that any e.g. user automate code which queued a `vm.refresh_ems` would end up actually executing a full refresh and restarting the refresh worker's collector thread. Adding allow_targeted_refresh? will queue up a simple target which will be ignored by the refresh worker since we are refreshing from WaitForUpdatesEx directly.
1 parent 3bc7db5 commit 6ac3716

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/models/manageiq/providers/vmware/infra_manager.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,10 @@ def streaming_refresh_enabled?
302302
true
303303
end
304304

305+
def allow_targeted_refresh?
306+
true
307+
end
308+
305309
def queue_name_for_ems_operations
306310
queue_name
307311
end

0 commit comments

Comments
 (0)