summaryrefslogtreecommitdiff
path: root/tools/purge.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/purge.sh')
-rw-r--r--tools/purge.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/purge.sh b/tools/purge.sh
index 8c1ea7e..58e1431 100644
--- a/tools/purge.sh
+++ b/tools/purge.sh
@@ -3,4 +3,4 @@
# Clean out stale games from the database.
sqlite3 db "DELETE FROM games WHERE status = 0 AND mtime < datetime('now', '-7 days')"
-sqlite3 db "UPDATE games SET status = 3 WHERE status = 1 AND mtime < datetime('now', '-28 days')"
+sqlite3 db "UPDATE games SET status = 3 WHERE status = 1 AND mtime < datetime('now', '-14 days')"