code optimizations and add examples
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
# Bascis
|
||||
GTS_SERVER_URL=https://domain.ltd
|
||||
GTS_ACCESS_TOKEN=YOUR_ACCESS_TOKEN
|
||||
|
||||
# Performance Tuning
|
||||
MAX_POSTS_PER_RUN=25 # Posts per feed per run
|
||||
DELAY_BETWEEN_REQUESTS=2 # Seconds between API calls
|
||||
FETCH_INTERVAL=30m # Interval zwischen Updates
|
||||
REQUEST_TIMEOUT=30 # Timeout für Anfragen an externe Server
|
||||
LOG_LEVEL=INFO # DEBUG for troubleshooting
|
||||
|
||||
|
||||
# Bot Identity
|
||||
#USER_AGENT=GTS-Federation-Bot/1.0 (Owner: @user@domain.ltd) # Optional
|
||||
|
||||
# File Paths (usually don't need to change)
|
||||
RSS_URLS_FILE=/app/rss_feeds.txt
|
||||
DATABASE_PATH=/app/data/processed_urls.json
|
||||
Reference in New Issue
Block a user