Search backend healthcheck process

This commit is contained in:
Mark Felder 2024-05-25 14:20:47 -04:00
commit 61a3b79316
8 changed files with 116 additions and 2 deletions

View file

@ -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