Skip to content

Commit

Permalink
Remove info log
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Feb 9, 2024
1 parent 9a71ed3 commit 00ebca0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lantern_daemon/src/embedding_jobs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ async fn embedding_worker(
client_ref.execute(&format!("UPDATE {jobs_table_name} SET init_finished_at=NOW(), updated_at=NOW() WHERE id=$1"), &[&job.id]).await?;
}

logger.info(&format!("Processed Rows: {processed_rows}, processed_tokens: {processed_tokens}"));
if processed_tokens > 0 {
let fn_name = get_full_table_name(&schema_ref, "increment_embedding_usage");
let res = client_ref.execute(&format!("SELECT {fn_name}({job_id},{usage},{tokens})", job_id=job.id, usage=processed_rows, tokens=processed_tokens), &[]).await;
Expand Down

0 comments on commit 00ebca0

Please sign in to comment.