remove unused proxies
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
cron: RAILS_ENV=worker bundle exec rake good_job_cron
|
||||
direct: RAILS_ENV=worker bundle exec rake good_job proxy=direct
|
||||
proxy-1: RAILS_ENV=worker bundle exec rake good_job proxy=proxy-1
|
||||
dedipath-1: RAILS_ENV=worker bundle exec rake good_job proxy=dedipath-1
|
||||
serverhost-1: RAILS_ENV=worker bundle exec rake good_job proxy=serverhost-1
|
||||
|
||||
8
Rakefile
8
Rakefile
@@ -65,12 +65,8 @@ task :good_job do
|
||||
"GOOD_JOB_MAX_THREADS" => "4",
|
||||
"GOOD_JOB_QUEUES" => [
|
||||
"manual:4",
|
||||
# "static_file,fa_user_avatar:3",
|
||||
# "+fa_user_avatar,static_file,fa_post:1",
|
||||
# "+fa_user_page,fa_user_gallery,fa_post:3",
|
||||
# "fa_user_follows:2",
|
||||
# proxy == "serverhost-1" ? nil : "twitter_timeline_tweets:1",
|
||||
proxy == "serverhost-1" ? "-twitter_timeline_tweets:6" : "*:6",
|
||||
"fa_post:2",
|
||||
"*:6",
|
||||
].reject(&:nil?).join(";"),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user