From 4a433a1a772f7d51dc117ca1dbcc7f125b4c3840 Mon Sep 17 00:00:00 2001 From: Rushmore75 Date: Mon, 31 Mar 2025 14:18:37 -0600 Subject: [PATCH] This function sometimes throws errors, this logging should help --- src/db.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db.rs b/src/db.rs index 4083ddc..06cddde 100644 --- a/src/db.rs +++ b/src/db.rs @@ -49,6 +49,7 @@ impl Website { // Insert ever item in the vec into surreal, crawled state will be preserved as TRUE // if already in the database as such or incoming data is TRUE. + #[instrument(skip(db))] pub async fn store_all(all: Vec, db: &Surreal) -> Vec { counter!(STORE).increment(1); let mut things = Vec::with_capacity(all.len());