Added periodic fetch

This commit is contained in:
2025-11-29 09:48:50 +01:00
parent 90f0e14f6e
commit 47f4a22bef
4 changed files with 49 additions and 3 deletions

View File

@@ -8,3 +8,7 @@ CLIENT_ID = os.getenv("CLIENT_ID")
CLIENT_SECRET = os.getenv("CLIENT_SECRET")
MONGO_URI = os.getenv("MONGO_URI")
DB_NAME = "micro_soc"
# Optional periodic fetch settings
ENABLE_PERIODIC_FETCH = os.getenv("ENABLE_PERIODIC_FETCH", "false").lower() == "true"
FETCH_INTERVAL_MINUTES = int(os.getenv("FETCH_INTERVAL_MINUTES", "60"))