Search backend healthcheck process
This commit is contained in:
parent
895eea5c75
commit
61a3b79316
8 changed files with 116 additions and 2 deletions
|
|
@ -14,4 +14,9 @@ defmodule Pleroma.Search do
|
|||
|
||||
search_module.search(options[:for_user], query, options)
|
||||
end
|
||||
|
||||
def healthcheck_endpoints do
|
||||
search_module = Pleroma.Config.get([Pleroma.Search, :module], Pleroma.Activity)
|
||||
search_module.healthcheck_endpoints
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue