提交 889ec44e 编写于 作者: 许雪里's avatar 许雪里

update document

上级 f3436119
......@@ -9,8 +9,8 @@ import java.util.concurrent.TimeUnit;
/**
* @author xuxueli 2018-10-31 19:05:43
*/
public class Application {
private static Logger logger = LoggerFactory.getLogger(Application.class);
public class FramelessApplication {
private static Logger logger = LoggerFactory.getLogger(FramelessApplication.class);
public static void main(String[] args) {
......@@ -18,8 +18,13 @@ public class Application {
// start
FrameLessXxlJobConfig.getInstance().initXxlJobExecutor();
// Blocks until interrupted
while (true) {
TimeUnit.HOURS.sleep(1);
try {
TimeUnit.HOURS.sleep(1);
} catch (InterruptedException e) {
break;
}
}
} catch (Exception e) {
logger.error(e.getMessage(), e);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册