This commit is contained in:
Trevor Buckner committed 2020-10-19 16:38:26 -04:00
1 parent 460d3fe111
commit 57c8c24b20
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ const junkBrewQuery = HomebrewModel.find({
/* Search for brews that aren't compressed (missing the compressed text field) */
const uncompressedBrewQuery = HomebrewModel.find({
'text' : { '$exists': true }
}).lean().limit(1000).select('_id');
}).lean().limit(10000).select('_id');
router.get('/admin/cleanup', mw.adminOnly, (req, res)=>{
junkBrewQuery.exec((err, objs)=>{