feat: add rawTranscriptContent field to SessionImport model

feat: enhance server initialization with environment validation and import processing scheduler

test: add Jest setup for unit tests and mock console methods

test: implement unit tests for environment management and validation

test: create unit tests for transcript fetcher functionality
This commit is contained in:
Max Kowalski
2025-06-27 19:00:22 +02:00
parent 50b230aa9b
commit 5c1ced5900
25 changed files with 3492 additions and 82 deletions

View File

@ -15,6 +15,8 @@ OPENAI_API_KEY=your_openai_api_key_here
# Scheduler Configuration
SCHEDULER_ENABLED=false # Enable/disable all schedulers (false for dev, true for production)
CSV_IMPORT_INTERVAL=*/15 * * * * # Cron expression for CSV imports (every 15 minutes)
SESSION_PROCESSING_INTERVAL=0 * * * * # Cron expression for session processing (every hour)
IMPORT_PROCESSING_INTERVAL=*/5 * * * * # Cron expression for processing imports to sessions (every 5 minutes)
IMPORT_PROCESSING_BATCH_SIZE=50 # Number of imports to process at once
SESSION_PROCESSING_INTERVAL=0 * * * * # Cron expression for AI session processing (every hour)
SESSION_PROCESSING_BATCH_SIZE=0 # 0 = unlimited sessions, >0 = specific limit
SESSION_PROCESSING_CONCURRENCY=5 # How many sessions to process in parallel