[#3213] Added HashtagsCleanupWorker periodic job.
This commit is contained in:
parent
380d0cce6b
commit
9948ff3356
5 changed files with 62 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue