From 26a4094ceb2f205233133d0d492b4e459d6b8871 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 31 八月 2020 14:25:14 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/ServerBootstrap.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/core/ServerBootstrap.java b/src/main/java/com/zy/core/ServerBootstrap.java
index eb68da2..c15b345 100644
--- a/src/main/java/com/zy/core/ServerBootstrap.java
+++ b/src/main/java/com/zy/core/ServerBootstrap.java
@@ -10,8 +10,10 @@
 import com.zy.core.thread.DevpThread;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.Async;
 import org.springframework.stereotype.Component;
 
+import javax.annotation.PostConstruct;
 import javax.annotation.PreDestroy;
 
 /**
@@ -27,7 +29,8 @@
     private MainProcess mainProcess;
 
 
-//    @PostConstruct
+    @PostConstruct
+    @Async
     public void init(){
         log.info("鏍稿績鎺у埗灞傚紑濮嬪垵濮嬪寲...............................................");
         // 鍒濆鍖栨秷鎭槦鍒�

--
Gitblit v1.9.1