We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug A clear and concise description of what the bug is.
Versions table is never cleaned up, add a VACUUM on the cleanup task
In app/jobs/decidim/papertrail_versions_job.rb
app/jobs/decidim/papertrail_versions_job.rb
def perform(ret = nil) ..... vacuum_table! if total.positive? log! "#{total} versions removed" end private def vacuum_table! log! "Running VACUUM on table 'versions'" sql = "VACUUM (FULL) versions;" ActiveRecord::Base.connection.execute(sql) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
Versions table is never cleaned up, add a VACUUM on the cleanup task
Example
In
app/jobs/decidim/papertrail_versions_job.rb
The text was updated successfully, but these errors were encountered: