diff options
| -rw-r--r-- | config/description.exs | 17 | ||||
| -rw-r--r-- | priv/repo/migrations/20240628160536_deprecate_config_db_workers.exs | 7 | 
2 files changed, 7 insertions, 17 deletions
diff --git a/config/description.exs b/config/description.exs index 2809e9130..15faecb38 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2015,23 +2015,6 @@ config :pleroma, :config_description, [    },    %{      group: :pleroma, -    key: :workers, -    type: :group, -    description: "Includes custom worker options not interpretable directly by `Oban`", -    children: [ -      %{ -        key: :retries, -        type: {:keyword, :integer}, -        description: "Max retry attempts for failed jobs, per `Oban` queue", -        suggestions: [ -          federator_incoming: 5, -          federator_outgoing: 5 -        ] -      } -    ] -  }, -  %{ -    group: :pleroma,      key: Pleroma.Web.Metadata,      type: :group,      description: "Metadata-related settings", diff --git a/priv/repo/migrations/20240628160536_deprecate_config_db_workers.exs b/priv/repo/migrations/20240628160536_deprecate_config_db_workers.exs new file mode 100644 index 000000000..549dd22e9 --- /dev/null +++ b/priv/repo/migrations/20240628160536_deprecate_config_db_workers.exs @@ -0,0 +1,7 @@ +defmodule Pleroma.Repo.Migrations.DeprecateConfigDBWorkers do +  use Ecto.Migration + +  def change do +    execute("DELETE FROM config WHERE config.group = ':workers'") +  end +end  | 
