[#3213] Added HashtagsCleanupWorker periodic job.

This commit is contained in:
Ivan Tashkinov 2021-01-31 18:24:19 +03:00
commit 9948ff3356
5 changed files with 62 additions and 0 deletions

View file

@ -152,6 +152,7 @@ defmodule Pleroma.Migrators.HashtagsTableMigrator do
defp query do
# Note: most objects have Mention-type AS2 tags and no hashtags (but we can't filter them out)
# Note: not checking activity type; HashtagsCleanupWorker should clean up unused records later
from(
object in Object,
where: