@@ -127,15 +127,15 @@ export class PairService {
127127 batches . push ( pairs . slice ( i , i + BATCH_SIZE ) ) ;
128128 }
129129
130- console . log ( `Starting to process ${ batches . length } batches of ${ BATCH_SIZE } pairs each` ) ;
130+ // console.log(`Starting to process ${batches.length} batches of ${BATCH_SIZE} pairs each`);
131131
132132 // Process batches sequentially
133133 for ( let batchIndex = 0 ; batchIndex < batches . length ; batchIndex ++ ) {
134134 const batch = batches [ batchIndex ] ;
135135 const progressPercentage = ( ( ( batchIndex + 1 ) / batches . length ) * 100 ) . toFixed ( 2 ) ;
136- console . log (
137- `Progress: ${ progressPercentage } % (Create Pairs Batch ${ batchIndex + 1 } /${ batches . length } )` ,
138- ) ;
136+ // console.log(
137+ // `Progress: ${progressPercentage}% (Create Pairs Batch ${batchIndex + 1}/${batches.length})`,
138+ // );
139139
140140 const tx = transaction || ( await sequelize . transaction ( ) ) ;
141141 try {
@@ -173,7 +173,7 @@ export class PairService {
173173 console . error ( `Error processing batch ${ batchIndex + 1 } /${ batches . length } :` , error ) ;
174174 }
175175 }
176- console . log ( 'Finished processing all pair creation batches' ) ;
176+ // console.log('Finished processing all pair creation batches');
177177 }
178178
179179 /**
@@ -227,15 +227,15 @@ export class PairService {
227227 batches . push ( updateEvents . slice ( i , i + BATCH_SIZE ) ) ;
228228 }
229229
230- console . log ( `Starting to process ${ batches . length } batches of ${ BATCH_SIZE } events each` ) ;
230+ // console.log(`Starting to process ${batches.length} batches of ${BATCH_SIZE} events each`);
231231
232232 // Process batches sequentially
233233 for ( let batchIndex = 0 ; batchIndex < batches . length ; batchIndex ++ ) {
234234 const batch = batches [ batchIndex ] ;
235235 const progressPercentage = ( ( ( batchIndex + 1 ) / batches . length ) * 100 ) . toFixed ( 2 ) ;
236- console . log (
237- `Progress: ${ progressPercentage } % (Update Pairs Batch ${ batchIndex + 1 } /${ batches . length } )` ,
238- ) ;
236+ // console.log(
237+ // `Progress: ${progressPercentage}% (Update Pairs Batch ${batchIndex + 1}/${batches.length})`,
238+ // );
239239
240240 const tx = transaction || ( await sequelize . transaction ( ) ) ;
241241 try {
@@ -408,7 +408,7 @@ export class PairService {
408408 console . error ( `Error processing batch ${ batchIndex + 1 } /${ batches . length } :` , error ) ;
409409 }
410410 }
411- console . log ( 'Finished processing all update batches' ) ;
411+ // console.log('Finished processing all update batches');
412412 }
413413
414414 /**
@@ -629,15 +629,15 @@ export class PairService {
629629 batches . push ( swapEvents . slice ( i , i + BATCH_SIZE ) ) ;
630630 }
631631
632- console . log ( `Starting to process ${ batches . length } batches of ${ BATCH_SIZE } swap events each` ) ;
632+ // console.log(`Starting to process ${batches.length} batches of ${BATCH_SIZE} swap events each`);
633633
634634 // Process batches sequentially
635635 for ( let batchIndex = 0 ; batchIndex < batches . length ; batchIndex ++ ) {
636636 const batch = batches [ batchIndex ] ;
637637 const progressPercentage = ( ( ( batchIndex + 1 ) / batches . length ) * 100 ) . toFixed ( 2 ) ;
638- console . log (
639- `Progress: ${ progressPercentage } % (Process Swaps Batch ${ batchIndex + 1 } /${ batches . length } )` ,
640- ) ;
638+ // console.log(
639+ // `Progress: ${progressPercentage}% (Process Swaps Batch ${batchIndex + 1}/${batches.length})`,
640+ // );
641641
642642 const tx = transaction || ( await sequelize . transaction ( ) ) ;
643643 try {
@@ -726,7 +726,7 @@ export class PairService {
726726 console . error ( `Error processing batch ${ batchIndex + 1 } /${ batches . length } :` , error ) ;
727727 }
728728 }
729- console . log ( 'Finished processing all swap batches' ) ;
729+ // console.log('Finished processing all swap batches');
730730 }
731731
732732 /**
@@ -758,17 +758,17 @@ export class PairService {
758758 batches . push ( liquidityEvents . slice ( i , i + BATCH_SIZE ) ) ;
759759 }
760760
761- console . log (
762- `Starting to process ${ batches . length } batches of ${ BATCH_SIZE } liquidity events each` ,
763- ) ;
761+ // console.log(
762+ // `Starting to process ${batches.length} batches of ${BATCH_SIZE} liquidity events each`,
763+ // );
764764
765765 // Process batches sequentially
766766 for ( let batchIndex = 0 ; batchIndex < batches . length ; batchIndex ++ ) {
767767 const batch = batches [ batchIndex ] ;
768768 const progressPercentage = ( ( ( batchIndex + 1 ) / batches . length ) * 100 ) . toFixed ( 2 ) ;
769- console . log (
770- `Progress: ${ progressPercentage } % (Process Liquidity Events Batch ${ batchIndex + 1 } /${ batches . length } )` ,
771- ) ;
769+ // console.log(
770+ // `Progress: ${progressPercentage}% (Process Liquidity Events Batch ${batchIndex + 1}/${batches.length})`,
771+ // );
772772
773773 const tx = transaction || ( await sequelize . transaction ( ) ) ;
774774 try {
0 commit comments