Skip to content

Commit

Permalink
revert gateway delay and retries
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Aug 8, 2024
1 parent 47e35c1 commit 8d79224
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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 = "more-cli"
version = "1.1.1"
version = "1.1.2"
edition = "2021"
license = "Apache-2.0"
description = "A command line interface for ORE cryptocurrency mining. Tailored by Miraland Labs."
Expand Down
4 changes: 2 additions & 2 deletions src/send_and_confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ const MIN_SOL_BALANCE: f64 = 0.005;

const RPC_RETRIES: usize = 0;
const _SIMULATION_RETRIES: usize = 4;
const GATEWAY_RETRIES: usize = 37; // MI, vanilla: 150, keep retries * delay same
const GATEWAY_RETRIES: usize = 150; // MI, vanilla: 150, keep retries * delay same
const CONFIRM_RETRIES: usize = 1;

const CONFIRM_DELAY: u64 = 0;
const GATEWAY_DELAY: u64 = 1200; // MI, vanilla: 300, keep retries * delay same
const GATEWAY_DELAY: u64 = 300; // MI, vanilla: 300, keep retries * delay same

pub enum ComputeBudget {
Dynamic,
Expand Down

0 comments on commit 8d79224

Please sign in to comment.