diff --git a/ReadMe.md b/ReadMe.md index c77591c..9ef4587 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -31,11 +31,11 @@ ServerLib (DLL) ``` 호출부 (Packet 등) ↓ 파라미터 전달 -Handler → Service 호출 + 응답 포맷팅 (string) +Handler → Service 호출 + 응답 포맷팅 (string, HelperHander 사용) ↓ Service → 비즈니스 로직, 유효성 검사, 예외 throw ↓ -Repository → DB 접근 (TestM? / bool / long 반환) +Repository → DB 접근 (Class? / bool / long 반환) ↓ MySQL ``` @@ -63,11 +63,23 @@ MySQL --- -## Connection Pool 설정(아직 구성 안됨) +## Connection Pool 설정(MMOServer/config.json) ``` -Server=localhost;Database=mydb;User=root;Password=1234; -Pooling=true;MinimumPoolSize=5;MaximumPoolSize=100; -ConnectionTimeout=30;ConnectionIdleTimeout=180; +{ + "Database": { + "Host": "localhost", + "Port": "0000", + "Name": "XXXX", + "User": "root", + "Password": "11212121", + "Pooling": { + "MinimumPoolSize": "5", + "MaximumPoolSize": "100", + "ConnectionTimeout": "30", + "ConnectionIdleTimeout": "180" + } + } +} ```