From 90c914343ffa15d908324fcd072f56658dfdf77b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=B1=EA=B2=BD?= Date: Thu, 28 May 2026 14:47:40 +0900 Subject: [PATCH] =?UTF-8?q?asyncmy=20=E2=86=92=20aiomysql=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- config.py | 4 ++-- o2o-castad-scheduler | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 45387fd..cdd7623 100644 --- a/.gitignore +++ b/.gitignore @@ -52,4 +52,5 @@ Dockerfile .dockerignore zzz/ -credentials/service_account.json \ No newline at end of file +credentials/service_account.json +o2o-castad-scheduler/ \ No newline at end of file diff --git a/config.py b/config.py index 0a3458a..d0fcf52 100644 --- a/config.py +++ b/config.py @@ -107,8 +107,8 @@ class DatabaseSettings(BaseSettings): @property def MYSQL_URL(self) -> str: - """비동기 MySQL URL 생성 (asyncmy 드라이버 사용, SQLAlchemy 통합 최적화)""" - return f"mysql+asyncmy://{self.MYSQL_USER}:{self.MYSQL_PASSWORD}@{self.MYSQL_HOST}:{self.MYSQL_PORT}/{self.MYSQL_DB}" + """비동기 MySQL URL 생성 (aiomysql 드라이버 사용, SQLAlchemy 통합 최적화)""" + return f"mysql+aiomysql://{self.MYSQL_USER}:{self.MYSQL_PASSWORD}@{self.MYSQL_HOST}:{self.MYSQL_PORT}/{self.MYSQL_DB}" def REDIS_URL(self, db: int = 0) -> str: """Redis URL 생성 (db 인수로 기본값 지원)""" diff --git a/o2o-castad-scheduler b/o2o-castad-scheduler index 97379be..9f17786 160000 --- a/o2o-castad-scheduler +++ b/o2o-castad-scheduler @@ -1 +1 @@ -Subproject commit 97379bebd470d0336f0e74c7eb2e1a0842dc0c49 +Subproject commit 9f17786920f1a2a6a508d4e9c62a162831fc495b