logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: ece063586b5e2c2e8c4eb6e92e50b3dcc09d2836
parent e5a738d465fa3cb16a5737b03561523059ed727c
Author: Mark Felder <feld@feld.me>
Date:   Mon, 24 Jun 2024 16:36:43 -0400

Limit backup jobs to 5 minutes

Diffstat:

Mlib/pleroma/workers/backup_worker.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/workers/backup_worker.ex b/lib/pleroma/workers/backup_worker.ex @@ -32,7 +32,7 @@ defmodule Pleroma.Workers.BackupWorker do end @impl Oban.Worker - def timeout(_job), do: :infinity + def timeout(_job), do: :timer.minutes(5) defp has_email?(user) do not is_nil(user.email) and user.email != ""