PERF: run full vacuum every 90 days (during migration)

Will reclaim space and improve perf
This commit is contained in:
Sam
2014-08-07 11:07:30 +10:00
parent 44d45c6eda
commit ae2d80501a
3 changed files with 23 additions and 0 deletions

View File

@@ -971,6 +971,8 @@ en:
enable_cdn_js_debugging: "Allow /logs to display proper errors by adding crossorigin permissions on all js includes."
show_create_topics_notice: "If the site has fewer than 5 public topics, show a notice asking admins to create some topics."
vacuum_db_days: "Run VACUUM FULL ANALYZE to reclaim DB space after migrations (set to 0 to disable)"
errors:
invalid_email: "Invalid email address."
invalid_username: "There's no user with that username."

View File

@@ -709,6 +709,11 @@ uncategorized:
company_short_name: 'Unconfigured Forum'
company_domain: 'www.example.com'
vacuum_db_days: 90
last_vacuum:
default: 0
hidden: true
tos_topic_id:
default: -1
hidden: true