@@ -197,7 +197,7 @@ export class FillerMultithreaded {
197197
198198 private dlobHealthy = true ;
199199 private orderSubscriberHealthy = true ;
200- private fastlaneOrderSubscriberHealth = true ;
200+ private swiftOrderSubscriberHealth = true ;
201201 private simulateTxForCUEstimate ?: boolean ;
202202
203203 // SignedMsg orders
@@ -598,17 +598,17 @@ export class FillerMultithreaded {
598598 ) ;
599599
600600 // SignedMsg Subscriber process
601- const fastlaneOrderSubscriberFileName =
602- 'fastlaneOrderSubscriber ' + ( isTsRuntime ( ) ? '.ts' : '.js' ) ;
603- const fastlaneOrderSubscriberProcess = spawnChild (
601+ const swiftOrderSubscriberFileName =
602+ 'swiftOrderSubscriber ' + ( isTsRuntime ( ) ? '.ts' : '.js' ) ;
603+ const swiftOrderSubscriberProcess = spawnChild (
604604 path . join (
605605 __dirname ,
606606 isTsRuntime ( ) ? '..' : '.' ,
607607 'filler-common' ,
608- fastlaneOrderSubscriberFileName
608+ swiftOrderSubscriberFileName
609609 ) ,
610610 orderSubscriberArgs ,
611- 'fastlaneOrderSubscriber ' ,
611+ 'swiftOrderSubscriber ' ,
612612 ( msg : any ) => {
613613 switch ( msg . type ) {
614614 case 'signedMsgOrderParamsMessage' :
@@ -623,14 +623,14 @@ export class FillerMultithreaded {
623623 }
624624 break ;
625625 case 'health' :
626- this . fastlaneOrderSubscriberHealth = msg . data . healthy ;
626+ this . swiftOrderSubscriberHealth = msg . data . healthy ;
627627 break ;
628628 }
629629 }
630630 ) ;
631631
632- fastlaneOrderSubscriberProcess . on ( 'exit' , ( code ) => {
633- logger . error ( `fastlaneOrderSubscriber exited with code ${ code } ` ) ;
632+ swiftOrderSubscriberProcess . on ( 'exit' , ( code ) => {
633+ logger . error ( `swiftOrderSubscriber exited with code ${ code } ` ) ;
634634 process . exit ( code || 1 ) ;
635635 } ) ;
636636
@@ -640,12 +640,12 @@ export class FillerMultithreaded {
640640 value . process . kill ( ) ;
641641 } ) ;
642642 orderSubscriberProcess . kill ( ) ;
643- fastlaneOrderSubscriberProcess . kill ( ) ;
643+ swiftOrderSubscriberProcess . kill ( ) ;
644644 process . exit ( 0 ) ;
645645 } ) ;
646646
647647 logger . info (
648- `fastlaneOrderSubscriber process spawned with pid: ${ fastlaneOrderSubscriberProcess . pid } `
648+ `swiftOrderSubscriber process spawned with pid: ${ swiftOrderSubscriberProcess . pid } `
649649 ) ;
650650
651651 this . intervalIds . push (
@@ -837,13 +837,13 @@ export class FillerMultithreaded {
837837 if ( ! this . orderSubscriberHealthy ) {
838838 logger . error ( `${ logPrefix } Order subscriber not healthy` ) ;
839839 }
840- if ( ! this . fastlaneOrderSubscriberHealth ) {
840+ if ( ! this . swiftOrderSubscriberHealth ) {
841841 logger . error ( `${ logPrefix } SignedMsg order subscriber not healthy` ) ;
842842 }
843843 return (
844844 this . dlobHealthy &&
845845 this . orderSubscriberHealthy &&
846- this . fastlaneOrderSubscriberHealth
846+ this . swiftOrderSubscriberHealth
847847 ) ;
848848 }
849849
0 commit comments