test #415

Merged
klaus merged 17 commits from test into main 2026-04-08 01:50:50 +00:00
Showing only changes of commit 360678091c - Show all commits

View File

@@ -672,7 +672,7 @@ class ChatRoomService(
)
// 6) 외부 API 호출 (최대 3회 재시도)
val characterReply = callExternalApiForChatSendWithRetry(userId, member.nickname, characterUUID, message, sessionId)
val characterReply = callExternalApiForChatSendWithRetry(userId, characterUUID, message, sessionId)
// 6) 내 메시지 저장
val myMsgEntity = ChatMessage(
@@ -827,7 +827,6 @@ class ChatRoomService(
private fun callExternalApiForChatSendWithRetry(
userId: String,
username: String,
characterUUID: String,
message: String,
sessionId: String
@@ -837,7 +836,7 @@ class ChatRoomService(
while (attempt < maxAttempts) {
attempt++
try {
return callExternalApiForChatSend(userId, username, characterUUID, message, sessionId)
return callExternalApiForChatSend(userId, characterUUID, message, sessionId)
} catch (e: Exception) {
log.warn("[chat] 외부 채팅 전송 실패 attempt={}, error={}", attempt, e.message)
}
@@ -848,7 +847,6 @@ class ChatRoomService(
private fun callExternalApiForChatSend(
userId: String,
username: String,
characterUUID: String,
message: String,
sessionId: String
@@ -865,7 +863,6 @@ class ChatRoomService(
val requestBody = mapOf(
"userId" to userId,
"userName" to username,
"characterId" to characterUUID,
"message" to message,
"sessionId" to sessionId