Skip to content

Commit

Permalink
fix(jetbrains): gateway plugin hands on auth issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Falzetti authored and andreafalzetti committed Sep 21, 2022
1 parent e1985ce commit 2c5c2d4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ public GitpodServerConnection listen(
}
}
ClientContainer container = new ClientContainer(httpClient);

// stop container immediately since we close only when a session is already gone
container.setStopTimeout(0);

// allow clientContainer to own httpClient (for start/stop lifecycle)
container.getClient().addManaged(httpClient);
container.start();
Expand Down

0 comments on commit 2c5c2d4

Please sign in to comment.