This commit is contained in:
r888888888
2016-01-04 11:52:07 -08:00
parent 6cbf56322b
commit 9ffc8e3ee8
2 changed files with 2 additions and 2 deletions

View File

@@ -626,7 +626,7 @@ class Tag < ActiveRecord::Base
if post_count < COSINE_SIMILARITY_RELATED_TAG_THRESHOLD && Delayed::Job.count < 200
delay(:queue => "default").update_related
elsif post_count >= COSINE_SIMILARITY_RELATED_TAG_THRESHOLD
sqs = SqsService.new(Danbooru.config.aws_sqs_queue_reltagcalc_url)
sqs = SqsService.new(Danbooru.config.aws_sqs_reltagcalc_url)
sqs.send_message("calculate #{name}")
end
end

View File

@@ -431,7 +431,7 @@ module Danbooru
def aws_sqs_queue_url
end
def aws_sqs_queue_reltagcalc_url
def aws_sqs_reltagcalc_url
end
def aws_sqs_region