(cherry picked from commit c693ffaa08
)
Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
@@ -2723,7 +2723,7 @@ impl AccountsDB {
|
||||
fn report_store_timings(&self) {
|
||||
let last = self.stats.last_store_report.load(Ordering::Relaxed);
|
||||
let now = solana_sdk::timing::timestamp();
|
||||
if now - last > 1000
|
||||
if now.saturating_sub(last) > 1000
|
||||
&& self
|
||||
.stats
|
||||
.last_store_report
|
||||
|
Reference in New Issue
Block a user