@@ -122,7 +122,9 @@ pub fn new_partial(
122
122
let client = Arc :: new ( client) ;
123
123
124
124
let telemetry = telemetry. map ( |( worker, telemetry) | {
125
- task_manager. spawn_handle ( ) . spawn ( "telemetry" , worker. run ( ) ) ;
125
+ task_manager
126
+ . spawn_handle ( )
127
+ . spawn ( "telemetry" , None , worker. run ( ) ) ;
126
128
telemetry
127
129
} ) ;
128
130
@@ -268,7 +270,6 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
268
270
transaction_pool : Arc :: clone ( & transaction_pool) ,
269
271
spawn_handle : task_manager. spawn_handle ( ) ,
270
272
import_queue,
271
- on_demand : None ,
272
273
block_announce_validator_builder : None ,
273
274
warp_sync : Some ( warp_sync) ,
274
275
} ) ?;
@@ -304,8 +305,6 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
304
305
task_manager : & mut task_manager,
305
306
transaction_pool : Arc :: clone ( & transaction_pool) ,
306
307
rpc_extensions_builder,
307
- on_demand : None ,
308
- remote_blockchain : None ,
309
308
backend,
310
309
system_rpc_tx,
311
310
config,
@@ -346,7 +345,7 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
346
345
// fails we take down the service with it.
347
346
task_manager
348
347
. spawn_essential_handle ( )
349
- . spawn_blocking ( "aura" , aura) ;
348
+ . spawn_blocking ( "aura" , Some ( "block-authoring" ) , aura) ;
350
349
351
350
let grandpa_config = sc_finality_grandpa:: Config {
352
351
// FIXME #1578 make this available through chainspec.
@@ -373,6 +372,7 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
373
372
374
373
task_manager. spawn_essential_handle ( ) . spawn_blocking (
375
374
"grandpa-voter" ,
375
+ Some ( "block-finalization" ) ,
376
376
sc_finality_grandpa:: run_grandpa_voter ( grandpa_config) ?,
377
377
) ;
378
378
}
@@ -495,9 +495,11 @@ pub async fn new_full(config: Configuration) -> Result<TaskManager, ServiceError
495
495
} )
496
496
} ;
497
497
498
- task_manager
499
- . spawn_handle ( )
500
- . spawn_blocking ( "bioauth-flow" , bioauth_flow_future) ;
498
+ task_manager. spawn_handle ( ) . spawn_blocking (
499
+ "bioauth-flow" ,
500
+ Some ( "bioauth" ) ,
501
+ bioauth_flow_future,
502
+ ) ;
501
503
502
504
Ok ( task_manager)
503
505
}
0 commit comments