ccjgmwz hace 3 años
padre
commit
7241565085

+ 1 - 1
unimall-admin-api/src/main/java/com/iotechn/unimall/admin/api/user/AdminUserServiceImpl.java

@@ -176,7 +176,7 @@ public class AdminUserServiceImpl implements AdminUserService {
     @Override
     public String test(String param, String param1) throws Exception {
         ExecutorService pool = Executors.newFixedThreadPool(2);
-        ThreadPool threadPool = new ThreadPool(1);
+        ThreadPool threadPool = new ThreadPool(2);
         pool.execute(threadPool);
         pool.shutdown();
 //        try{