diff --git a/routes/_database/cleanup.js b/routes/_database/cleanup.js index 90057a3a..7d2124aa 100644 --- a/routes/_database/cleanup.js +++ b/routes/_database/cleanup.js @@ -18,7 +18,7 @@ import { deleteAll } from './utils' import { createPinnedStatusKeyRange, createThreadKeyRange } from './keys' const BATCH_SIZE = 20 -const TIME_AGO = 14 * 24 * 60 * 60 * 1000 // two weeks ago +const TIME_AGO = 7 * 24 * 60 * 60 * 1000 // one week ago const DELAY = 5 * 60 * 1000 // five minutes function batchedGetAll (callGetAll, callback) {