aboutsummaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-07-18 07:01:30 -0700
committerPinapelz <yukais@pinapelz.com>2026-07-18 07:02:43 -0700
commit53904f0cf0ff61595e5556e046a250dd2e152fa5 (patch)
treef87ea3ab4ca974851a8210b13b9e53a00986d8a6 /config.py
parent22b43e361009db0bff8380bbcd52a3f0720ff0d2 (diff)
add config option to skip if exceeding client count
due to rate limit issues with TS6
Diffstat (limited to 'config.py')
-rw-r--r--config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.py b/config.py
index 9aef79f..4d774a2 100644
--- a/config.py
+++ b/config.py
@@ -17,6 +17,7 @@ CONFIG = {
"ts_domain": os.environ.get("TS_HOST", ""), # Used by the connect button
"cache_time": 30, # Refresh interval in seconds (anti-spam)
"cache_file": BASE_DIR / "cache.json",
+ "afk_status_max_clients": 3, # Skip per-client clientinfo (AFK/streaming) calls when client count exceeds this (due to potential rate limits)
},
# Main design and copy
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage