mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-30 03:10:45 +02:00
chore: harden knowledge graph storage and clear common clippy warnings
Enforce stable 1:1 entity embeddings, relationship endpoint auth, and user-scoped deletes; align schemas/migrations and resolve common crate clippy findings.
This commit is contained in:
@@ -293,7 +293,7 @@ async fn reserve_task(
|
||||
payload: IngestionPayload,
|
||||
user_id: &str,
|
||||
) -> anyhow::Result<IngestionTask> {
|
||||
let task = IngestionTask::create_and_add_to_db(payload, user_id.into(), db).await?;
|
||||
let task = IngestionTask::create_and_add_to_db(payload, user_id, db).await?;
|
||||
let lease = task.lease_duration();
|
||||
let claimed = IngestionTask::claim_next_ready(db, worker_id, Utc::now(), lease)
|
||||
.await?
|
||||
|
||||
Reference in New Issue
Block a user