File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ export class SchemaAnalyzer {
517517 }
518518 }
519519
520- allowAbort ( ) {
520+ allowAbortDuringAnalysis ( ) {
521521 // Allow aborting the analysis.
522522 if ( this . fieldAndTypeAnalysisCounter ++ % ALLOW_ABORT_INTERVAL_COUNT === 0 ) {
523523 allowAbort ( ) ;
@@ -551,7 +551,7 @@ export class SchemaAnalyzer {
551551 * Note: This mutates the `schema` argument.
552552 */
553553 const addToType = async ( path : string [ ] , value : BSONValue , schema : SchemaAnalysisFieldTypes ) => {
554- await this . allowAbort ( ) ;
554+ await this . allowAbortDuringAnalysis ( ) ;
555555 const bsonType = getBSONType ( value ) ;
556556 // If semantic type detection is enabled, the type is the semantic type
557557 // or the original bson type if no semantic type was detected. If disabled,
You can’t perform that action at this time.
0 commit comments