* 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:
@@ -2,7 +2,7 @@ module PostSetPresenters
|
||||
class WikiPage < PostSetPresenters::Post
|
||||
def posts
|
||||
@post_set.posts
|
||||
rescue ActiveRecord::StatementInvalid, PGError
|
||||
rescue ActiveRecord::StatementInvalid, PG::Error
|
||||
[]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user