Drastically increased frequency of old document cleanup to prevent large spikes in oplog

This commit is contained in:
Stefan Zermatten
2020-10-06 09:57:24 +02:00
parent 311bbfa58c
commit 49a83b487a
2 changed files with 2 additions and 1 deletions

View File

@@ -29,7 +29,7 @@ Meteor.startup(() => {
SyncedCron.add({
name: "deleteSoftRemovedDocs",
schedule: function(parser) {
return parser.text('every 2 hours');
return parser.text('every 10 minutes');
},
job: deleteOldSoftRemovedDocs,
});

1
dataSources/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
Renders