chat robot
This commit is contained in:
@@ -41,7 +41,7 @@ public class ChatRobotServiceImpl implements ChatRobotService {
|
||||
|
||||
Gson gson = new GsonBuilder().create();
|
||||
private final ExecutorService executorService = Executors.newSingleThreadExecutor();
|
||||
Integer timeout = 9999999;
|
||||
Integer timeout = 99999999;
|
||||
|
||||
@Override
|
||||
public SseEmitter sendMessageToChatRobot(ChatSendDTO chatSendDTO) {
|
||||
@@ -73,7 +73,7 @@ public class ChatRobotServiceImpl implements ChatRobotService {
|
||||
log.info(line);
|
||||
|
||||
emitter.send(line);
|
||||
Thread.sleep(1000);
|
||||
// Thread.sleep(1000);
|
||||
|
||||
}
|
||||
reader.close();
|
||||
|
||||
Reference in New Issue
Block a user