@@ -181,30 +181,30 @@ pub struct Config {
181181 pub handle_price_account_update_worker_poll_size : usize ,
182182 /// Channel size used to wait for the handle_price_account_update
183183 #[ serde( default = "default_handle_price_account_update_channel_size" ) ]
184- pub handle_price_account_update_channel_size : usize ,
184+ pub handle_price_account_update_channel_size : usize ,
185185 /// Minimum time for a subscriber to run
186186 #[ serde( default = "default_subscriber_finished_min_time" ) ]
187- pub subscriber_finished_min_time : Duration ,
187+ pub subscriber_finished_min_time : Duration ,
188188 /// Time to sleep if the subscriber do not run for more than the minimum time
189189 #[ serde( default = "default_subscriber_finished_sleep_time" ) ]
190- pub subscriber_finished_sleep_time : Duration ,
190+ pub subscriber_finished_sleep_time : Duration ,
191191}
192192
193193impl Default for Config {
194194 fn default ( ) -> Self {
195195 Self {
196- commitment : CommitmentLevel :: Confirmed ,
197- poll_interval_duration : Duration :: from_secs ( 5 ) ,
198- subscriber_enabled : true ,
199- updates_channel_capacity : 10000 ,
200- data_channel_capacity : 10000 ,
201- max_lookup_batch_size : 100 ,
196+ commitment : CommitmentLevel :: Confirmed ,
197+ poll_interval_duration : Duration :: from_secs ( 5 ) ,
198+ subscriber_enabled : true ,
199+ updates_channel_capacity : 10000 ,
200+ data_channel_capacity : 10000 ,
201+ max_lookup_batch_size : 100 ,
202202 handle_price_account_update_worker_poll_size :
203203 default_handle_price_account_update_worker_poll_size ( ) ,
204204 handle_price_account_update_channel_size :
205205 default_handle_price_account_update_channel_size ( ) ,
206- subscriber_finished_min_time : default_subscriber_finished_min_time ( ) ,
207- subscriber_finished_sleep_time : default_subscriber_finished_sleep_time ( ) ,
206+ subscriber_finished_min_time : default_subscriber_finished_min_time ( ) ,
207+ subscriber_finished_sleep_time : default_subscriber_finished_sleep_time ( ) ,
208208 }
209209 }
210210}
0 commit comments