analytics/lib/workers/rotate_salts.ex
Uku Taht 8d1039b8ce
Upgrades Oban to v2.6.1 (#967)
* Upgrades Oban to v2.6.1

* Use correct clickhouse_ecto
2021-04-26 11:32:18 +03:00

10 lines
195 B
Elixir

defmodule Plausible.Workers.RotateSalts do
use Plausible.Repo
use Oban.Worker, queue: :rotate_salts
@impl Oban.Worker
def perform(_job) do
Plausible.Session.Salts.rotate()
end
end