fix typo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user