Skip to content

Commit 03788f1

Browse files
committed
chore: add slot gap to pythnet options
1 parent cf0159c commit 03788f1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/config.sample.pythnet.toml

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ exporter.compute_unit_limit = 20000
5858
# during periods of high network congestion.
5959
exporter.dynamic_compute_unit_pricing_enabled = true
6060

61+
# Maximum slot gap between the current slot and the oldest slot amongst all the accounts in
62+
# the batch. This is used to calculate the dynamic price per compute unit. When the slot gap
63+
# reaches this number we will use the maximum total_compute_fee for the transaction.
64+
exporter.maximum_slot_gap_for_dynamic_compute_unit_price = 40
65+
6166
# The interval with which to poll account information. We are adding it as an extra
6267
# layer of protection to ensure we get the latest account information if there are
6368
# any issues with the ws subscription.

0 commit comments

Comments
 (0)