mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
Fix typo
This commit is contained in:
parent
92c8825515
commit
86c4b76bf0
1 changed files with 1 additions and 1 deletions
|
@ -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