Skip to content

Commit

Permalink
always set bool for this._onlyCountLatestWhenObjectLocked
Browse files Browse the repository at this point in the history
  • Loading branch information
tmacro committed Nov 29, 2023
1 parent b1e834a commit 61d97ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/UtapiReindex.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ class UtapiReindex {
this._log = new werelogs.Logger('UtapiReindex', { level, dump });
}

if (config && config.onlyCountLatestWhenObjectLocked) {
this._onlyCountLatestWhenObjectLocked = true;
}
this._onlyCountLatestWhenObjectLocked = (config && config.onlyCountLatestWhenObjectLocked !== undefined);

this._requestLogger = this._log.newRequestLogger();
}
Expand Down

0 comments on commit 61d97ec

Please sign in to comment.