updated actor to following naming conventions
This commit is contained in:
@@ -110,9 +110,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
Job::update_status(&mut redis_conn, &job.id, JobStatus::Dispatched).await?;
|
||||
println!("Stored job in Redis with key: {} and status: Dispatched", job_key);
|
||||
|
||||
// Add the job to the OSIS queue for processing
|
||||
// Note: The supervisor uses "actor_queue:" prefix, so the correct queue is:
|
||||
let queue_key = "hero:job:actor_queue:osis";
|
||||
// Add the job to the canonical type queue for processing
|
||||
// Canonical dispatch queue per type: hero:q:work:type:{script_type}
|
||||
let queue_key = "hero:q:work:type:osis";
|
||||
let _: () = redis_conn.lpush(&queue_key, &job.id).await?;
|
||||
println!("Dispatched job {} to OSIS queue: {}", job.id, queue_key);
|
||||
|
||||
|
Reference in New Issue
Block a user