7 lines
213 B
Python
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")
|
|
|