File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,15 @@ key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUN
7373# takes to fetch all symbols.
7474# oracle.max_lookup_batch_size = 100
7575
76+ # Number of workers used to wait for the handle_price_account_update
77+ # oracle.handle_price_account_update_worker_poll_size = 25
78+ # Channel size used to wait for the handle_price_account_update
79+ # oracle.handle_price_account_update_channel_size = 1000
80+ # Minimum time for a subscriber to run
81+ # oracle.subscriber_finished_min_time = "30s"
82+ # Time to sleep if the subscriber do not run for more than the minimum time
83+ # oracle.subscriber_finished_sleep_time = "1s"
84+
7685# How often to refresh the cached network state (current slot and blockhash).
7786# It is recommended to set this to slightly less than the network's block time,
7887# as the slot fetched will be used as the time of the price update.
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ fn default_handle_price_account_update_channel_size() -> usize {
143143}
144144
145145fn default_handle_price_account_update_worker_poll_size ( ) -> usize {
146- 50
146+ 25
147147}
148148
149149fn default_subscriber_finished_min_time ( ) -> Duration {
You can’t perform that action at this time.
0 commit comments