Skip to content

Commit

Permalink
feat: tweak default expiration time for tx-pool
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed Mar 21, 2023
1 parent 09db022 commit f261ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/app-config/src/legacy/tx_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const DEFAULT_MAX_TX_VERIFY_CYCLES: Cycle = TWO_IN_TWO_OUT_CYCLES * 20;
// default max ancestors count
const DEFAULT_MAX_ANCESTORS_COUNT: usize = 125;
// Default expiration time for pool transactions in hours
const DEFAULT_EXPIRY_HOURS: u8 = 24;
const DEFAULT_EXPIRY_HOURS: u8 = 12;
// Default max_tx_pool_size 180mb
const DEFAULT_MAX_TX_POOL_SIZE: usize = 180_000_000;

Expand Down

0 comments on commit f261ac3

Please sign in to comment.