Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor(core): reverts the payment method list filtering using constraint graph #5044

Merged
merged 5 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into revert/cgi
  • Loading branch information
prajjwalkumar17 committed Jun 19, 2024
commit e9a9b1d0c07218829c7a722a3f6dc903c02bd2d9
11 changes: 3 additions & 8 deletions crates/router/src/routes/metrics/bg_metrics_collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@ pub fn spawn_metrics_collector(metrics_collection_interval_in_secs: &Option<u16>

tokio::spawn(async move {
loop {
gauge_metrics_for_imc!(
CONFIG_CACHE,
ACCOUNTS_CACHE,
ROUTING_CACHE,
CGRAPH_CACHE,
DECISION_MANAGER_CACHE,
SURCHARGE_CACHE
);
for instance in cache_instances {
instance.record_entry_count_metric().await
}

tokio::time::sleep(std::time::Duration::from_secs(
metrics_collection_interval.into(),
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.