mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 03:21:37 +03:00
10 lines
202 B
Elixir
10 lines
202 B
Elixir
|
defmodule Plausible.Workers.RotateSalts do
|
||
|
use Plausible.Repo
|
||
|
use Oban.Worker, queue: :rotate_salts
|
||
|
|
||
|
@impl Oban.Worker
|
||
|
def perform(_args, _job) do
|
||
|
Plausible.Session.Salts.rotate()
|
||
|
end
|
||
|
end
|