fix active_scans metric to not swap (#26602)
This commit is contained in:
parent
2b7cc107d8
commit
4dea32e8e5
|
@ -2844,7 +2844,7 @@ impl AccountsDb {
|
|||
),
|
||||
(
|
||||
"active_scans",
|
||||
self.accounts_index.active_scans.swap(0, Ordering::Relaxed) as i64,
|
||||
self.accounts_index.active_scans.load(Ordering::Relaxed) as i64,
|
||||
i64
|
||||
),
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue