diff --git a/server/jobs/clear-old-data.js b/server/jobs/clear-old-data.js index 6577f897..7c368014 100644 --- a/server/jobs/clear-old-data.js +++ b/server/jobs/clear-old-data.js @@ -2,7 +2,7 @@ const { log, exit, connectDb } = require("./util-worker"); const { R } = require("redbean-node"); const { setSetting, setting } = require("../util-server"); -const DEFAULT_KEEP_PERIOD = 30; +const DEFAULT_KEEP_PERIOD = 180; (async () => { await connectDb(); diff --git a/src/pages/Settings.vue b/src/pages/Settings.vue index b5c57c20..e55d442b 100644 --- a/src/pages/Settings.vue +++ b/src/pages/Settings.vue @@ -475,7 +475,7 @@ export default { } if (this.settings.keepDataPeriodDays === undefined) { - this.settings.keepDataPeriodDays = 30; + this.settings.keepDataPeriodDays = 180; } this.loaded = true;