Describe the bug
If clicking the "Add predefined missions" button on an asset with several longer missions, the loading is unreasonable long. This is if using echoMissionLoader as selected missionLoader.
This is probably because the missionLoader is iterating through all missions and calling ProcessEchoMissions which is iterating through all tasks and inspections.
To Reproduce
Steps to reproduce the behavior:
Select an asset with several longer missions
Click the "Add predefined missions"-button
Expected behavior
This shouldn't take several minutes. Tested on one asset with 75missions, and the fetching took 2,5 minutes.
Describe the bug If clicking the "Add predefined missions" button on an asset with several longer missions, the loading is unreasonable long. This is if using echoMissionLoader as selected missionLoader.
This is probably because the missionLoader is iterating through all missions and calling ProcessEchoMissions which is iterating through all tasks and inspections.
To Reproduce Steps to reproduce the behavior:
Expected behavior This shouldn't take several minutes. Tested on one asset with 75missions, and the fetching took 2,5 minutes.
Screenshots