summaryrefslogtreecommitdiff
path: root/services/worker/.env.example
blob: 4a4a706f21b68508b80e7856c205f8d272100490 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Database connection string (required)
DATABASE_URL=postgresql://user:password@localhost:5432/asa_news

# Number of concurrent workers processing feed updates
WORKER_CONCURRENCY=10

# Interval for polling the job queue (duration string, e.g., 30s, 5m)
POLL_INTERVAL=30s

# Timeout for individual feed fetch operations
FETCH_TIMEOUT=30s

# Interval for checking the task queue
QUEUE_POLL_INTERVAL=5s

# Number of entries to process per batch
BATCH_SIZE=50

# Port for health check HTTP server
HEALTH_PORT=8080

# Encryption key for sensitive vault credentials (optional)
ENCRYPTION_KEY=

# Log level: debug, info, warn, error
LOG_LEVEL=info

# Enable JSON structured logging output
LOG_JSON=false