2023-11-26版本

This commit is contained in:
Cool 2023-11-26 23:19:40 +08:00
parent b4155bec4f
commit 199ef4f7ee
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ public class Test01 implements CommandLineRunner {
} }
sqlSession.close(); sqlSession.close();
System.out.println("sleep"); System.out.println("sleep");
TimeUnit.HOURS.sleep(1); TimeUnit.MINUTES.sleep(10);
} }
} }
} }

View File

@ -64,7 +64,7 @@ public class WebSocketServer {
/* /*
* 发消息给客户端 * 发消息给客户端
* */ * */
public void sendAllSession(List<Message> message) throws IOException { public void sendAllSession(List<Message> message){
try { try {
for (Session session : sessionList) { for (Session session : sessionList) {