We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e97d2 commit e60cceeCopy full SHA for e60ccee
bin/scripts/data-cleanup/remove_old_crashes_sync.js
@@ -82,6 +82,7 @@ Promise.all(
82
await sleep(SLEEP);
83
//deleting from old collection
84
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");
86
//deleting from amerged drill collection
87
res = await drillDb.collection("drill_events").deleteMany({"a": app._id + "", "e": "[CLY]_crash", ts: { $lt: lastUnixTimestamp * 1000 } });
88
console.log("", res, "drill crashes deleted");
0 commit comments