mirror of
https://github.com/perstarkse/minne.git
synced 2026-12-02 09:53:57 +01:00
memory optimization and queue fix
This commit is contained in:
1 parent
2d96f06478
commit
972919a515
5 files changed
+15
-19
No files matched your search
+1
-3
@@ -48,9 +48,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
info!("Found {} unfinished jobs", unfinished_jobs.len());
|
||||
|
||||
for job in unfinished_jobs {
|
||||
if let Err(e) = job_queue.process_job(job.clone(), &content_processor).await {
|
||||
error!("Error processing job {}: {}", job.id, e);
|
||||
}
|
||||
job_queue.process_job(job, &content_processor).await?;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user