diff --git a/app/models/tag.rb b/app/models/tag.rb index 40d169dcb..918caf46b 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -812,6 +812,8 @@ class Tag < ApplicationRecord else sqs = SqsService.new(Danbooru.config.aws_sqs_reltagcalc_url) sqs.send_message("calculate #{name}") + self.related_tags_updated_at = Time.now + save end Cache.put("urt:#{key}", true, 600) # mutex to prevent redundant updates