Skip to content

Commit e60ccee

Browse files
committed
deepscan
1 parent 33e97d2 commit e60ccee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/scripts/data-cleanup/remove_old_crashes_sync.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Promise.all(
8282
await sleep(SLEEP);
8383
//deleting from old collection
8484
res = await drillDb.collection("drill_events" + crypto.createHash('sha1').update("[CLY]_crash" + app._id).digest('hex')).deleteMany({ ts: { $lt: lastUnixTimestamp * 1000 } });
85+
console.log("", res, "drill crashes deleted");
8586
//deleting from amerged drill collection
8687
res = await drillDb.collection("drill_events").deleteMany({"a": app._id + "", "e": "[CLY]_crash", ts: { $lt: lastUnixTimestamp * 1000 } });
8788
console.log("", res, "drill crashes deleted");

0 commit comments

Comments
 (0)