remove type cast in scan metric report (#32704)

Co-authored-by: HaoranYi <haoran.yi@solana.com>
This commit is contained in:
HaoranYi 2023-08-04 13:03:32 -05:00 committed by GitHub
parent 226d7d986b
commit 533f42dae6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3490,17 +3490,17 @@ impl AccountsDb {
),
(
"roots_added",
self.accounts_index.roots_added.swap(0, Ordering::Relaxed) as i64,
self.accounts_index.roots_added.swap(0, Ordering::Relaxed),
i64
),
(
"roots_removed",
self.accounts_index.roots_removed.swap(0, Ordering::Relaxed) as i64,
self.accounts_index.roots_removed.swap(0, Ordering::Relaxed),
i64
),
(
"active_scans",
self.accounts_index.active_scans.load(Ordering::Relaxed) as i64,
self.accounts_index.active_scans.load(Ordering::Relaxed),
i64
),
(