fix: call start_autoscaler() in Worker::run() to enable dynamic concurrency
This commit is contained in:
@@ -187,7 +187,10 @@ impl JobWorker {
|
|||||||
|
|
||||||
// Start VLM Workers
|
// Start VLM Workers
|
||||||
crate::core::vlm::worker::start_workers(self.db.pool().clone(), num_vlm_workers, 2).await;
|
crate::core::vlm::worker::start_workers(self.db.pool().clone(), num_vlm_workers, 2).await;
|
||||||
info!("VLM workers started successfully");
|
|
||||||
|
|
||||||
|
// Start AutoScaler for dynamic SCENE_VLM concurrency
|
||||||
|
start_autoscaler();
|
||||||
|
|
||||||
// Layer 3: Health check on startup - repair incomplete jobs
|
// Layer 3: Health check on startup - repair incomplete jobs
|
||||||
if let Err(e) = self.health_check_incomplete_jobs().await {
|
if let Err(e) = self.health_check_incomplete_jobs().await {
|
||||||
|
|||||||
Reference in New Issue
Block a user