Skip to content

Commit

Permalink
add onStart()
Browse files Browse the repository at this point in the history
  • Loading branch information
mvysny committed Mar 17, 2023
1 parent ce91d0f commit caa184e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ public void start() throws Exception {
server.start();
log.debug("Jetty Server started");

onStarted(context);

final Duration startupDuration = Duration.ofMillis(System.currentTimeMillis() - startupMeasurementSince);
System.out.println("\n\n=================================================\n" +
"Started in " + startupDuration + ". Running on " + Env.dumpHost() + "\n" +
Expand Down

0 comments on commit caa184e

Please sign in to comment.