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
73
73
# takes to fetch all symbols.
74
74
# oracle.max_lookup_batch_size = 100
75
75
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
+
76
85
# How often to refresh the cached network state (current slot and blockhash).
77
86
# It is recommended to set this to slightly less than the network's block time,
78
87
# 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 {
143
143
}
144
144
145
145
fn default_handle_price_account_update_worker_poll_size ( ) -> usize {
146
- 50
146
+ 25
147
147
}
148
148
149
149
fn default_subscriber_finished_min_time ( ) -> Duration {
You can’t perform that action at this time.
0 commit comments