Add missing Oban job for attachments_cleanup
authorMark Felder <feld@FreeBSD.org>
Thu, 13 Feb 2020 17:49:19 +0000 (11:49 -0600)
committerMark Felder <feld@FreeBSD.org>
Thu, 13 Feb 2020 17:49:19 +0000 (11:49 -0600)
config/description.exs

index 40e2a4415d6b1f0ce44755724e38bbcbf9d66fea..9cfb4fb27cff35df5df8a68938db7ed39c2ed711 100644 (file)
@@ -1986,6 +1986,7 @@ config :pleroma, :config_description, [
           "Background jobs queues (keys: queues, values: max numbers of concurrent jobs)",
         suggestions: [
           activity_expiration: 10,
+          attachments_cleanup: 5,
           background: 5,
           federator_incoming: 50,
           federator_outgoing: 50,
@@ -2001,6 +2002,12 @@ config :pleroma, :config_description, [
             description: "Activity expiration queue",
             suggestions: [10]
           },
+          %{
+            key: :attachments_cleanup,
+            type: :integer,
+            description: "Attachment deletion queue",
+            suggestions: [5]
+          },
           %{
             key: :background,
             type: :integer,