feat: schedule periodic reports asynchronously

This commit is contained in:
2026-07-31 17:11:21 +08:00
parent a589a25bdc
commit 0008903e8d
21 changed files with 969 additions and 145 deletions

View File

@@ -49,6 +49,10 @@ services:
DB_MAX_OVERFLOW: "20"
DB_POOL_TIMEOUT: "30"
DB_POOL_RECYCLE: "1800"
PERIODIC_REPORT_WORKER_ENABLED: "true"
PERIODIC_REPORT_WEEKLY_ENABLED: "true"
PERIODIC_REPORT_MONTHLY_ENABLED: "true"
PERIODIC_REPORT_TIMEZONE: Asia/Shanghai
JWT_SECRET_KEY: local-dev-secret-change-before-production
MOCK_SMS_ENABLED: "true"
MOCK_SMS_CODE: "123456"