* post keeper is calculated synchronously

* add fallback mechanism in case archive service is not up
* pass along most recently added tags to any keeper calculation
This commit is contained in:
r888888888
2018-02-26 17:48:16 -08:00
parent 0c5dcbbf68
commit 3657cacd17
9 changed files with 332 additions and 293 deletions

View File

@@ -131,6 +131,13 @@ class ApplicationRecord < ActiveRecord::Base
def columns(*params)
super.reject {|x| x.sql_type == "tsvector"}
end
def test_connection
limit(1).select(:id)
return true
rescue PG::Error
return false
end
end
end