aboutsummaryrefslogtreecommitdiffstats
path: root/crates/typologies
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typologies')
-rw-r--r--crates/typologies/src/main.rs3
-rw-r--r--crates/typologies/src/processor/typology.rs2
2 files changed, 4 insertions, 1 deletions
diff --git a/crates/typologies/src/main.rs b/crates/typologies/src/main.rs
index ea7843a..e96f6bb 100644
--- a/crates/typologies/src/main.rs
+++ b/crates/typologies/src/main.rs
@@ -45,6 +45,9 @@ async fn main() -> Result<()> {
.nats_jetstream(&config.nats)
.await
.inspect_err(|e| error!("nats: {e}"))?
+ .cache(&config.cache)
+ .await
+ .inspect_err(|e| error!("cache: {e}"))?
.build();
let jetstream = services
diff --git a/crates/typologies/src/processor/typology.rs b/crates/typologies/src/processor/typology.rs
index b1b2592..62e7089 100644
--- a/crates/typologies/src/processor/typology.rs
+++ b/crates/typologies/src/processor/typology.rs
@@ -83,7 +83,7 @@ pub async fn process_typology(
Ok(())
}
-#[instrument(skip(typology_result, routing, payload, state), err(Debug))]
+#[instrument(skip(routing, payload, state), err(Debug))]
async fn evaluate_typology(
typology_result: &mut [TypologyResult],
routing: &RoutingConfiguration,