Skip to content

Commit

Permalink
bump retry delay to 2s
Browse files Browse the repository at this point in the history
  • Loading branch information
HardhatChad committed Apr 5, 2024
1 parent 3f222b3 commit 315cc8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ore-cli"
version = "0.4.7"
version = "0.4.8"
description = "A command line interface for the Ore program."
license = "Apache-2.0"
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion src/send_and_confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl Miner {
stdout.flush().ok();

// Retry
std::thread::sleep(Duration::from_millis(1000));
std::thread::sleep(Duration::from_millis(2000));
(hash, slot) = client
.get_latest_blockhash_with_commitment(CommitmentConfig::confirmed())
.await
Expand Down

0 comments on commit 315cc8c

Please sign in to comment.