Skip to content

Commit

Permalink
#29999 Fix race condition when loading navigator nodes (#33259)
Browse files Browse the repository at this point in the history
* #29999 Fix race condition when loading navigator nodes

* #29999 Use a different approach (remove extra node-loading call)

---------

Co-authored-by: Matvey16 <82543000+Matvey16@users.noreply.github.com>
  • Loading branch information
ShadelessFox and Matvey16 committed May 23, 2024
1 parent bd558e2 commit 4b20029
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ public IDatabaseEditorInput initializeRealInput(@NotNull DBRProgressMonitor moni
project = dataSourceContainer.getRegistry().getProject();
}
final DBNModel navigatorModel = DBWorkbench.getPlatform().getNavigatorModel();
navigatorModel.ensureProjectLoaded(project);
//dataSourceContainer, project, nodePath, nodeName, activePageId, activeFolderId

long connectionTimeout = dataSourceContainer.getPreferenceStore().getInt(ModelPreferences.CONNECTION_VALIDATION_TIMEOUT);
long connectionStart = System.currentTimeMillis();
while (!dataSourceContainer.isConnected()) {
Expand Down

0 comments on commit 4b20029

Please sign in to comment.