Files
speed-logger/measurement/config.py
2026-07-09 19:40:33 +02:00

7 lines
213 B
Python

import os
DB_PATH = os.getenv("DB_PATH") or "speedtest.db"
PING_INTERVAL = int(os.getenv("PING_INTERVAL", "5"))
SPEEDTEST_ENABLED = os.getenv("SPEEDTEST_ENABLED", "true").strip().lower() in ("1", "true", "yes")