Add status expiration

This commit is contained in:
KMY 2023-03-21 11:12:33 +09:00
parent 57c12e4fad
commit 16079b4db5
11 changed files with 120 additions and 1 deletions

View file

@ -116,6 +116,7 @@ class PostStatusService < BaseService
end
def postprocess_status!
UpdateStatusExpirationService.new.call(@status)
process_hashtags_service.call(@status)
Trends.tags.register(@status)
LinkCrawlWorker.perform_async(@status.id)