Skip to content

Commit

Permalink
revert confirm delay 0, set gateway delay 1500
Browse files Browse the repository at this point in the history
  • Loading branch information
miralandlabs committed Aug 6, 2024
1 parent b357280 commit 1911413
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/send_and_confirm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ const MIN_SOL_BALANCE: f64 = 0.005;

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

// MI, vanilla, millis
// const CONFIRM_DELAY: u64 = 0;
const CONFIRM_DELAY: u64 = 1000;
const GATEWAY_DELAY: u64 = 600; // MI, vanilla: 300, keep retries * delay same
const CONFIRM_DELAY: u64 = 0;
const GATEWAY_DELAY: u64 = 1500; // MI, vanilla: 300, keep retries * delay same

pub enum ComputeBudget {
Dynamic,
Expand Down

0 comments on commit 1911413

Please sign in to comment.