From e9e863053d7b568ae466b5cf3d309585d068dfb0 Mon Sep 17 00:00:00 2001 From: YuehuCao Date: Mon, 22 Sep 2025 11:01:34 +0800 Subject: [PATCH] feat(cache): add the cache volume --- apps/notification/common/config/app_settings.py | 1 + apps/notification/tests/integration_tests/local.env | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/notification/common/config/app_settings.py b/apps/notification/common/config/app_settings.py index fb241cb..2b95132 100644 --- a/apps/notification/common/config/app_settings.py +++ b/apps/notification/common/config/app_settings.py @@ -18,6 +18,7 @@ class AppSettings(BaseSettings): MONGODB_URI: str = "" MONGODB_NAME: str = "" + TENANT_CACHE_MAX: int = 64 SYSTEM_USER_ID: str = "" SMS_FROM: str = "" diff --git a/apps/notification/tests/integration_tests/local.env b/apps/notification/tests/integration_tests/local.env index f5b5a2b..b9a1142 100644 --- a/apps/notification/tests/integration_tests/local.env +++ b/apps/notification/tests/integration_tests/local.env @@ -28,12 +28,12 @@ export RABBITMQ_HOST=localhost export RABBITMQ_PORT=5672 export AUTH_SERVICE_ENDPOINT=http://localhost:9000/api/v1/keys/ -export AUTH_SERVICE_PORT=9000 +export TENANT_CACHE_MAX=64 # for local environment export MONGODB_URI=mongodb://localhost:27017/ # connectivity from local to alpha #export MONGODB_URI=mongodb+srv://jetli:8IHKx6dZK8BfugGp@freeleaps2.hanbj.mongodb.net/ -export MONGODB_NAME=interview +export MONGODB_NAME=freeleaps2 export FREELEAPS_ENV=local export LOG_BASE_PATH=./log \ No newline at end of file