Skip to content

Commit

Permalink
Bumped sleep time to make extra sure server is up
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Sep 21, 2012
1 parent 3e637ab commit b5122a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/lantern/JettyLauncher.java
Expand Up @@ -319,7 +319,7 @@ private ServletContextHandler newContext(final String path,
public void openBrowserWhenReady() {
while(!server.isStarted()) {
try {
Thread.sleep(100);
Thread.sleep(250);
} catch (final InterruptedException e) {
log.info("Interrupted?");
}
Expand Down

0 comments on commit b5122a8

Please sign in to comment.