Skip to content

Commit

Permalink
Remove console.log statements from MongoReadStream
Browse files Browse the repository at this point in the history
class
  • Loading branch information
KillianG committed Nov 13, 2023
1 parent 007ff4b commit 13e28a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/storage/metadata/mongoclient/readStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class MongoReadStream extends Readable {
this._cursor = c.find(query, { projection }).sort({
_id: options.reverse ? -1 : 1,
});
console.log(query);
if (options.limit && options.limit !== -1) {
this._cursor = this._cursor.limit(options.limit);
}
Expand All @@ -107,7 +106,6 @@ class MongoReadStream extends Readable {
if (this._destroyed) {
return;
}
console.log(doc);
let key = undefined;
let value = undefined;

Expand Down

0 comments on commit 13e28a4

Please sign in to comment.