Trial page: throwaway ring poll to test a screen with a phone, swept after 2 h

This commit is contained in:
2026-08-16 22:11:33 +01:00
parent 1992397659
commit 60f5cffe08
9 changed files with 98 additions and 3 deletions
+4
View File
@@ -29,6 +29,10 @@ HEARTBEAT_S = float(os.environ.get("HEARTBEAT_S", "25"))
DEFAULT_VOTE_SCANS = 3
MAX_VOTE_SCANS = 5
# throwaway polls from /essai: deleted after this, and only so many alive at once
TRIAL_TTL_MS = 2 * 3600 * 1000
MAX_TRIALS = int(os.environ.get("MAX_TRIALS", "50"))
MIN_INTERVAL_MS = 300
MAX_INTERVAL_MS = 5000
MIN_SCANS = 2