Skip to content

Commit

Permalink
Fix issue with arg not passed to ensure_idle_pipelines_warmed_up(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelPeczek-Roboflow committed Nov 25, 2024
1 parent 24bb016 commit 3de1fb1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion inference/core/interfaces/stream_manager/manager_app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,13 @@ def start(expected_warmed_up_pipelines: int = 0) -> None:
Thread(target=check_process_health, daemon=True).start()

# keep expected number of processes ready for processing
Thread(target=ensure_idle_pipelines_warmed_up, daemon=True).start()
Thread(
target=partial(
ensure_idle_pipelines_warmed_up,
expected_warmed_up_pipelines=expected_warmed_up_pipelines,
),
daemon=True,
).start()

with RoboflowTCPServer(
server_address=(HOST, PORT),
Expand Down

0 comments on commit 3de1fb1

Please sign in to comment.