Skip to content

Commit

Permalink
fix: missing metric label
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Jan 19, 2024
1 parent a65673f commit 1e75468
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/domain/checkForAndPlaceOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export async function checkForAndPlaceOrder(

// Start the post-processing timer
const postProcessingTimer = pollingPostProcessingDurationSeconds
.labels(chainId.toString())
.labels(chainId.toString(), blockNumber.toString())
.startTimer();

// Now that we have all the results, we can update the registry synchronously
Expand Down Expand Up @@ -323,6 +323,9 @@ export async function checkForAndPlaceOrder(
}
}
}

// Update the registry
registry.ownerOrders.set(owner, conditionalOrders);
}
}

Expand Down

0 comments on commit 1e75468

Please sign in to comment.