From 9ffc8e3ee8494e4ab64f8625ef6406de14959a76 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Mon, 4 Jan 2016 11:52:07 -0800 Subject: [PATCH] fix typo --- app/models/tag.rb | 2 +- config/danbooru_default_config.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/tag.rb b/app/models/tag.rb index db2530ac2..c0cd2d194 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -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 diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index d7ee80497..8b4706c0e 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -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