mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 08:32:09 +01:00
feat: Implement configurable scheduler settings and enhance CSV import functionality
This commit is contained in:
@ -11,3 +11,10 @@ NODE_ENV=development
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
|
||||
# Database connection - already configured in your prisma/schema.prisma
|
||||
|
||||
# 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)
|
||||
SESSION_PROCESSING_BATCH_SIZE=0 # 0 = unlimited sessions, >0 = specific limit
|
||||
SESSION_PROCESSING_CONCURRENCY=5 # How many sessions to process in parallel
|
||||
|
||||
Reference in New Issue
Block a user