Skip to content

Commit e8fce74

Browse files
authored
fix: remove result logging for currentOp COMPASS-9203 (#6831)
1 parent ebe95ba commit e8fce74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/data-service/src/data-service.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,9 +2179,7 @@ class DataServiceImpl extends WithLogContext implements DataService {
21792179
return this._collection(ns, 'CRUD').bulkWrite(operations, options);
21802180
}
21812181

2182-
@op(mongoLogId(1_001_000_053), (_, result) => {
2183-
return result ? { result } : undefined;
2184-
})
2182+
@op(mongoLogId(1_001_000_053))
21852183
async currentOp(): Promise<{ inprog: Document[] }> {
21862184
const db = this._database('admin', 'META');
21872185
const pipelineWithTruncateOps: Document[] = [

0 commit comments

Comments
 (0)