06/03 Optimize app

This commit is contained in:
2026-06-03 16:43:39 -04:00
parent 3990a01079
commit 3abd073437
9 changed files with 36 additions and 6 deletions
+6
View File
@@ -36,6 +36,12 @@ class Config:
SCHWAB_REDIRECT_URI = os.environ.get('SCHWAB_REDIRECT_URI',
'https://pfm.ngodanguyen.tech/schwab/callback')
# Sentry error monitoring (optional — leave blank to disable)
SENTRY_DSN = os.environ.get('SENTRY_DSN', '')
# Session idle timeout in minutes (default 60)
SESSION_IDLE_MINUTES = int(os.environ.get('SESSION_IDLE_MINUTES', 60))
# Budget alert emails (optional — all four must be set to enable)
SMTP_HOST = os.environ.get('SMTP_HOST', '')
SMTP_PORT = int(os.environ.get('SMTP_PORT', 587))