Skip to content

Commit d308a3f

Browse files
committed
Apply admin workload to app <-> CH readiness check
1 parent 41e0749 commit d308a3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/plausible_web/controllers/api/system_controller.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ defmodule PlausibleWeb.Api.SystemController do
4141

4242
clickhouse_health_task =
4343
Task.async(fn ->
44-
Ecto.Adapters.SQL.query(Plausible.ClickhouseRepo, "SELECT 1", [])
44+
Plausible.ClickhouseRepo.query("SELECT 1", [], [settings: [workload: "admin"]])
4545
end)
4646

4747
postgres_health =

0 commit comments

Comments
 (0)