Add a job to run pg_amcheck hourly to check for corrupt database indexes. https://www.postgresql.org/docs/14/app-pgamcheck.html
10 lines
184 B
Ruby
10 lines
184 B
Ruby
require 'test_helper'
|
|
|
|
class AmcheckDatabaseJobTest < ActiveJob::TestCase
|
|
context "AmcheckDatabaseJob" do
|
|
should "work" do
|
|
AmcheckDatabaseJob.perform_now
|
|
end
|
|
end
|
|
end
|