spans in logs

This commit is contained in:
Alphonse Paix
2025-09-27 19:59:04 +02:00
parent 87c529ecb6
commit ac96b3c249
2 changed files with 11 additions and 5 deletions

View File

@@ -126,7 +126,6 @@ impl NewsletterIssue {
}
}
#[tracing::instrument(skip_all)]
async fn get_issue(
connection_pool: &PgPool,
issue_id: Uuid,
@@ -152,7 +151,6 @@ pub struct Task {
pub kind: String,
}
#[tracing::instrument(skip_all)]
async fn dequeue_task(
connection_pool: &PgPool,
) -> Result<Option<(Transaction<'static, Postgres>, Task)>, anyhow::Error> {
@@ -180,7 +178,6 @@ async fn dequeue_task(
}
}
#[tracing::instrument(skip_all)]
async fn delete_task(
mut transaction: Transaction<'static, Postgres>,
issue_id: Uuid,