From 43b205c11d614258b895355252e0394729cedbbb Mon Sep 17 00:00:00 2001 From: gamandeepsingh Date: Thu, 11 Jun 2026 22:54:51 +0530 Subject: [PATCH] refactor: Adjust threshold condition in track_program_accounts_query to allow incremented counts --- crates/query-tracker/src/tracker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/query-tracker/src/tracker.rs b/crates/query-tracker/src/tracker.rs index 8f936f2..1a12c2f 100644 --- a/crates/query-tracker/src/tracker.rs +++ b/crates/query-tracker/src/tracker.rs @@ -142,7 +142,7 @@ pub fn track_program_accounts_query( } } - if !found && *count == threshold { + if !found && *count < threshold + increment { temp_vec.push(PrioritizedQuery { count: *count, key: key_for_queue,