@@ -180,30 +180,30 @@ pub struct Config {
180180 pub handle_price_account_update_worker_poll_size : usize ,
181181 /// Channel size used to wait for the handle_price_account_update
182182 #[ serde( default = "default_handle_price_account_update_channel_size" ) ]
183- pub handle_price_account_update_channel_size : usize ,
183+ pub handle_price_account_update_channel_size : usize ,
184184 /// Minimum time for a subscriber to run
185185 #[ serde( default = "default_subscriber_finished_min_time" ) ]
186- pub subscriber_finished_min_time : Duration ,
186+ pub subscriber_finished_min_time : Duration ,
187187 /// Time to sleep if the subscriber do not run for more than the minimum time
188188 #[ serde( default = "default_subscriber_finished_sleep_time" ) ]
189- pub subscriber_finished_sleep_time : Duration ,
189+ pub subscriber_finished_sleep_time : Duration ,
190190}
191191
192192impl Default for Config {
193193 fn default ( ) -> Self {
194194 Self {
195- commitment : CommitmentLevel :: Confirmed ,
196- poll_interval_duration : Duration :: from_secs ( 5 ) ,
197- subscriber_enabled : true ,
198- updates_channel_capacity : 10000 ,
199- data_channel_capacity : 10000 ,
200- max_lookup_batch_size : 100 ,
195+ commitment : CommitmentLevel :: Confirmed ,
196+ poll_interval_duration : Duration :: from_secs ( 5 ) ,
197+ subscriber_enabled : true ,
198+ updates_channel_capacity : 10000 ,
199+ data_channel_capacity : 10000 ,
200+ max_lookup_batch_size : 100 ,
201201 handle_price_account_update_worker_poll_size :
202202 default_handle_price_account_update_worker_poll_size ( ) ,
203203 handle_price_account_update_channel_size :
204204 default_handle_price_account_update_channel_size ( ) ,
205- subscriber_finished_min_time : default_subscriber_finished_min_time ( ) ,
206- subscriber_finished_sleep_time : default_subscriber_finished_sleep_time ( ) ,
205+ subscriber_finished_min_time : default_subscriber_finished_min_time ( ) ,
206+ subscriber_finished_sleep_time : default_subscriber_finished_sleep_time ( ) ,
207207 }
208208 }
209209}
0 commit comments