dashboard test runner . backend
This commit is contained in:
@@ -363,7 +363,10 @@ def main() -> None:
|
||||
common.add_argument(
|
||||
"--enable-test-runner",
|
||||
action="store_true",
|
||||
help="Enable development test-runner hooks for this tracker",
|
||||
help=(
|
||||
"Enable the admin-only dashboard test runner API "
|
||||
"(disabled by default; also honors MESHNET_ENABLE_TEST_RUNNER=1)"
|
||||
),
|
||||
)
|
||||
common.add_argument(
|
||||
"--no-file-logs",
|
||||
@@ -442,6 +445,7 @@ def main() -> None:
|
||||
hf_pricing_refresh_interval=args.hf_pricing_refresh_interval,
|
||||
models_dir=args.models_dir,
|
||||
routing_config=_routing_config_from_args(args),
|
||||
enable_test_runner=args.enable_test_runner,
|
||||
)
|
||||
port = server.start()
|
||||
print(f"meshnet-tracker listening on http://{args.host}:{port}", flush=True)
|
||||
|
||||
Reference in New Issue
Block a user