Skip to content

Commit

Permalink
hop-node: reduce bondWithdrawalBatchSize to reduce rate limit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed Nov 10, 2023
1 parent 821e326 commit beef0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hop-node/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const setLatestNonceOnStart = process.env.SET_LATEST_NONCE_ON_START

// This value must be longer than the longest chain's finality
export const TxRetryDelayMs = process.env.TX_RETRY_DELAY_MS ? Number(process.env.TX_RETRY_DELAY_MS) : OneHourMs
export const bondWithdrawalBatchSize = normalizeEnvVarNumber(process.env.BOND_WITHDRAWAL_BATCH_SIZE) ?? 100
export const bondWithdrawalBatchSize = normalizeEnvVarNumber(process.env.BOND_WITHDRAWAL_BATCH_SIZE) ?? 5
export const relayTransactionBatchSize = bondWithdrawalBatchSize
export const ShouldIgnoreProxy = normalizeEnvVarBool(process.env.SHOULD_IGNORE_PROXY) ?? false
export const ShouldIgnoreBlockHashValidation = normalizeEnvVarBool(process.env.SHOULD_IGNORE_BLOCK_HASH_VALIDATION) ?? false
Expand Down

0 comments on commit beef0aa

Please sign in to comment.