Skip to content

Commit

Permalink
[Issue apache#337] Fix HttpSubscriber startup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
j00441484 committed May 10, 2021
1 parent ba67c5c commit d638ec4
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,15 @@ public void afterPropertiesSet() throws Exception {
}));

Thread stopThread = new Thread(() -> {
try {
Thread.sleep(5 * 60 * 1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
logger.info("stopThread start....");
System.exit(0);
});

Thread.sleep(5 * 60 * 1000);

// stopThread.start();
stopThread.start();
}
}

0 comments on commit d638ec4

Please sign in to comment.