mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-26 02:38:31 +02:00
feat: surrealdb queue and remove lapin and rabbitmq
This commit is contained in:
@@ -44,7 +44,7 @@ pub async fn ingress_data(
|
||||
|
||||
let futures: Vec<_> = ingress_objects
|
||||
.into_iter()
|
||||
.map(|object| state.rabbitmq_producer.publish(object))
|
||||
.map(|object| state.job_queue.enqueue(object.clone(), user.id.clone()))
|
||||
.collect();
|
||||
|
||||
try_join_all(futures).await.map_err(AppError::from)?;
|
||||
|
||||
Reference in New Issue
Block a user