File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
mithril-aggregator/src/commands Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,20 @@ impl ServeCommand {
191
191
Ok ( ( ) )
192
192
} ) ;
193
193
194
+ let signature_processor = dependencies_builder
195
+ . create_signature_processor ( )
196
+ . await
197
+ . with_context ( || "Dependencies Builder can not create signature processor" ) ?;
198
+ let signature_processor_clone = signature_processor. clone ( ) ;
199
+ join_set. spawn ( async move {
200
+ signature_processor_clone
201
+ . run ( )
202
+ . await
203
+ . map_err ( |e| e. to_string ( ) ) ?;
204
+
205
+ Ok ( ( ) )
206
+ } ) ;
207
+
194
208
// Create a SignersImporter only if the `cexplorer_pools_url` is provided in the config.
195
209
if let Some ( cexplorer_pools_url) = config. cexplorer_pools_url {
196
210
match dependencies_builder
@@ -272,6 +286,7 @@ impl ServeCommand {
272
286
if !preload_task. is_finished ( ) {
273
287
preload_task. abort ( ) ;
274
288
}
289
+ signature_processor. stop ( ) . await ?;
275
290
276
291
info ! ( root_logger, "Event store is finishing..." ) ;
277
292
event_store_thread. await . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments