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 {
517
517
}
518
518
}
519
519
520
- allowAbort ( ) {
520
+ allowAbortDuringAnalysis ( ) {
521
521
// Allow aborting the analysis.
522
522
if ( this . fieldAndTypeAnalysisCounter ++ % ALLOW_ABORT_INTERVAL_COUNT === 0 ) {
523
523
allowAbort ( ) ;
@@ -551,7 +551,7 @@ export class SchemaAnalyzer {
551
551
* Note: This mutates the `schema` argument.
552
552
*/
553
553
const addToType = async ( path : string [ ] , value : BSONValue , schema : SchemaAnalysisFieldTypes ) => {
554
- await this . allowAbort ( ) ;
554
+ await this . allowAbortDuringAnalysis ( ) ;
555
555
const bsonType = getBSONType ( value ) ;
556
556
// If semantic type detection is enabled, the type is the semantic type
557
557
// 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