Skip to content

Commit

Permalink
improved tracing and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousben committed Dec 2, 2024
1 parent fba76e0 commit 3cf4f75
Show file tree
Hide file tree
Showing 2 changed files with 157 additions and 169 deletions.
6 changes: 3 additions & 3 deletions server/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ mod tests {
let state = IndexifyState::new(temp_dir.path().join("state")).await?;
let scheduler = Scheduler::new(
state.clone(),
Arc::new(scheduler_stats::Metrics::new(state.clone())),
Arc::new(scheduler_stats::Metrics::new(state.metrics.clone())),
);

let graph = {
Expand Down Expand Up @@ -867,7 +867,7 @@ mod tests {
let state = IndexifyState::new(temp_dir.path().join("state")).await?;
let scheduler = Scheduler::new(
state.clone(),
Arc::new(scheduler_stats::Metrics::new(state.clone())),
Arc::new(scheduler_stats::Metrics::new(state.metrics.clone())),
);

let graph = {
Expand Down Expand Up @@ -1191,7 +1191,7 @@ mod tests {
let state = IndexifyState::new(temp_dir.path().join("state")).await?;
let scheduler = Scheduler::new(
state.clone(),
Arc::new(scheduler_stats::Metrics::new(state.clone())),
Arc::new(scheduler_stats::Metrics::new(state.metrics.clone())),
);

let graph = {
Expand Down
Loading

0 comments on commit 3cf4f75

Please sign in to comment.