mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-30 09:02:28 +00:00
Fix typo
This commit is contained in:
parent
92c8825515
commit
86c4b76bf0
|
@ -37,7 +37,7 @@ defmodule Pleroma.Workers.AttachmentsCleanupWorker do
|
||||||
)
|
)
|
||||||
# The query above can be time consumptive on large instances until we
|
# The query above can be time consumptive on large instances until we
|
||||||
# refactor how uploads are stored
|
# refactor how uploads are stored
|
||||||
|> Repo.all(timout: :infinity)
|
|> Repo.all(timeout: :infinity)
|
||||||
# we should delete 1 object for any given attachment, but don't delete
|
# we should delete 1 object for any given attachment, but don't delete
|
||||||
# files if there are more than 1 object for it
|
# files if there are more than 1 object for it
|
||||||
|> Enum.reduce(%{}, fn %{
|
|> Enum.reduce(%{}, fn %{
|
||||||
|
|
Loading…
Reference in a new issue