Skip to content

Commit

Permalink
chore: add slot gap to pythnet options (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Nov 30, 2023
1 parent cf0159c commit 06d468e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ exporter.compute_unit_limit = 20000
# during periods of high network congestion.
exporter.dynamic_compute_unit_pricing_enabled = true

# Maximum slot gap between the current slot and the oldest slot amongst all the accounts in
# the batch. This is used to calculate the dynamic price per compute unit. When the slot gap
# reaches this number we will use the maximum total_compute_fee for the transaction.
exporter.maximum_slot_gap_for_dynamic_compute_unit_price = 40

# The interval with which to poll account information. We are adding it as an extra
# layer of protection to ensure we get the latest account information if there are
# any issues with the ws subscription.
Expand Down

0 comments on commit 06d468e

Please sign in to comment.