fix: routes.py wait=1500, repeat=8

This commit is contained in:
Repinoid
2026-06-14 13:58:16 +04:00
parent 7c1391dcf4
commit f9c2152c9d
+2 -2
View File
@@ -94,10 +94,10 @@ def register(app):
elif mode == "dynamic":
script = build_dynamic_script()
elif mode == "test":
wait = int(request.args.get("wait", 400))
wait = int(request.args.get("wait", 1500))
pid_str = request.args.get("pids", "")
pids = pid_str.split(",") if pid_str else None
repeat = int(request.args.get("repeat", 10))
repeat = int(request.args.get("repeat", 8))
script = build_test_script(wait_ms=wait, pids=pids, repeat=repeat)
elif mode == "full":
script = build_full_script()