....
This commit is contained in:
parent
c5a5c41d4a
commit
cab381645c
@ -99,11 +99,11 @@ private var isAppStarted = false
|
||||
fun main() = application {
|
||||
if (!isAppStarted) {
|
||||
initLogger(DETAILLOG)
|
||||
// val (port1, port2) = PortFinder.findAvailablePortPair(18080)
|
||||
//
|
||||
// println("🚀 AI 서버용 포트 할당 완료: 메인($port1), 서브($port2)")
|
||||
// LLM_PORT = port1
|
||||
// EMBEDDING_PORT = port2
|
||||
val (port1, port2) = PortFinder.findAvailablePortPair(18080)
|
||||
|
||||
println("🚀 AI 서버용 포트 할당 완료: 메인($port1), 서브($port2)")
|
||||
LLM_PORT = port1
|
||||
EMBEDDING_PORT = port2
|
||||
|
||||
isAppStarted = true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user