Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit d287913

Browse files
author
HaoranYi
committed
add sleep
1 parent fd68e07 commit d287913

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

accounts-db/src/accounts_hash.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ use {
2626
atomic::{AtomicU64, AtomicUsize, Ordering},
2727
Arc,
2828
},
29+
thread, time,
2930
},
3031
tempfile::tempfile_in,
3132
};
@@ -132,6 +133,7 @@ impl AccountHashesFile {
132133
num_retries
133134
);
134135
}
136+
thread::sleep(time::Duration::from_millis(num_retries * 100));
135137
}
136138
}
137139
};

0 commit comments

Comments
 (0)