Azure-Samples/digital-twins-explorer

Upon running the digital twins explorer initially, graph import is slow

Closed this issue · 3 comments

When initially doing a graph import for the first time on the ADT explorer, the explorer seem to be hanging for several minutes and shows the spinning icon. After doing a page refresh and retrying the import the 2nd time, it imports the graph within seconds without any issues.

Reproduce Steps: Import the existing graph in this example in ADT for the buildingScenario, you may see the first time you try an import, it may hang

Workaround: Refresh the page and retry the import the 2nd time, this time the visualization preview should come up within seconds without any issues.

Hi @tasdevani21,

Just wanted to confirm that you have the latest code from the main branch before we dig into this.

Many thanks!

Hi @tasdevani21,

Just wanted to confirm that you have the latest code from the main branch before we dig into this.

Many thanks!

Hi @jamiewilbraham - Yes correct, tested this with both master and main branches and the issue still exists.

@rinisbet - Could not reproduce.

Just tried again.

  • Set up branch new service
  • Imported building scenario

Worked the first time fine:
image