Skip to content
Snippets Groups Projects
Commit dcf70653 authored by Robert Latta's avatar Robert Latta
Browse files

reordered tasks

parent fd64d952
Branches
Tags
No related merge requests found
...@@ -46,10 +46,9 @@ def launch_refresh_cache_all(config): ...@@ -46,10 +46,9 @@ def launch_refresh_cache_all(config):
# first batch of subtasks: refresh cached IMS data # first batch of subtasks: refresh cached IMS data
subtasks = [ subtasks = [
update_neteng_managed_device_list.apply_async(), update_neteng_managed_device_list.apply_async(),
update_circuit_hierarchy_ims.apply_async(), update_equipment_locations_ims.apply_async(),
update_lg_routers_ims.apply_async(),
update_fibre_spans_ims.apply_async(), update_fibre_spans_ims.apply_async(),
update_interfaces_to_port_ids_ims.apply_async(),
update_port_ids_to_services_ims.apply_async(),
] ]
[x.get() for x in subtasks] [x.get() for x in subtasks]
...@@ -73,8 +72,9 @@ def internal_refresh_phase_2_ims(self): ...@@ -73,8 +72,9 @@ def internal_refresh_phase_2_ims(self):
try: try:
subtasks = [ subtasks = [
update_equipment_locations_ims.apply_async(), update_circuit_hierarchy_ims.apply_async(),
update_lg_routers_ims.apply_async(), update_interfaces_to_port_ids_ims.apply_async(),
update_port_ids_to_services_ims.apply_async(),
import_unmanaged_interfaces.apply_async() import_unmanaged_interfaces.apply_async()
] ]
for hostname in data.derive_router_hostnames(InventoryTask.config): for hostname in data.derive_router_hostnames(InventoryTask.config):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment