@@ -551,11 +551,11 @@ where
551551
552552 while count < cross_chain_batch_size {
553553 match Pin :: new ( & mut cross_chain_updates) . next ( ) . now_or_never ( ) {
554- Some ( Some ( ( req, _span, enqueued_at ) ) ) => {
554+ Some ( Some ( ( req, _span, _enqueued_at ) ) ) => {
555555 #[ cfg( with_metrics) ]
556556 metrics:: CHAIN_WORKER_QUEUE_WAIT_TIME
557557 . with_label_values ( & [ "cross_chain_updates" ] )
558- . observe ( enqueued_at . elapsed ( ) . as_millis ( ) as f64 ) ;
558+ . observe ( _enqueued_at . elapsed ( ) . as_millis ( ) as f64 ) ;
559559 updates. entry ( req. origin ) . or_default ( ) . extend ( req. bundles ) ;
560560 callbacks_by_origin
561561 . entry ( req. origin )
@@ -613,11 +613,11 @@ where
613613
614614 while count < cross_chain_batch_size {
615615 match Pin :: new ( & mut confirmations) . next ( ) . now_or_never ( ) {
616- Some ( Some ( ( req, _span, enqueued_at ) ) ) => {
616+ Some ( Some ( ( req, _span, _enqueued_at ) ) ) => {
617617 #[ cfg( with_metrics) ]
618618 metrics:: CHAIN_WORKER_QUEUE_WAIT_TIME
619619 . with_label_values ( & [ "confirmations" ] )
620- . observe ( enqueued_at . elapsed ( ) . as_millis ( ) as f64 ) ;
620+ . observe ( _enqueued_at . elapsed ( ) . as_millis ( ) as f64 ) ;
621621 confirmations_map
622622 . entry ( req. recipient )
623623 . and_modify ( |h| * h = ( * h) . max ( req. latest_height ) )
@@ -646,15 +646,15 @@ where
646646 }
647647 RequestType :: Regular => {
648648 for _ in 0 ..regular_batch_size {
649- let Some ( Some ( ( request, span, enqueued_at ) ) ) =
649+ let Some ( Some ( ( request, span, _enqueued_at ) ) ) =
650650 Pin :: new ( & mut requests) . next ( ) . now_or_never ( )
651651 else {
652652 break ;
653653 } ;
654654 #[ cfg( with_metrics) ]
655655 metrics:: CHAIN_WORKER_QUEUE_WAIT_TIME
656656 . with_label_values ( & [ "regular" ] )
657- . observe ( enqueued_at . elapsed ( ) . as_millis ( ) as f64 ) ;
657+ . observe ( _enqueued_at . elapsed ( ) . as_millis ( ) as f64 ) ;
658658 Box :: pin ( worker. handle_request ( request) )
659659 . instrument ( span)
660660 . await ;
0 commit comments