fix: routes.py wait=1500, repeat=8
This commit is contained in:
+2
-2
@@ -94,10 +94,10 @@ def register(app):
|
|||||||
elif mode == "dynamic":
|
elif mode == "dynamic":
|
||||||
script = build_dynamic_script()
|
script = build_dynamic_script()
|
||||||
elif mode == "test":
|
elif mode == "test":
|
||||||
wait = int(request.args.get("wait", 400))
|
wait = int(request.args.get("wait", 1500))
|
||||||
pid_str = request.args.get("pids", "")
|
pid_str = request.args.get("pids", "")
|
||||||
pids = pid_str.split(",") if pid_str else None
|
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)
|
script = build_test_script(wait_ms=wait, pids=pids, repeat=repeat)
|
||||||
elif mode == "full":
|
elif mode == "full":
|
||||||
script = build_full_script()
|
script = build_full_script()
|
||||||
|
|||||||
Reference in New Issue
Block a user