select limit for good_job
This commit is contained in:
4
Rakefile
4
Rakefile
@@ -32,7 +32,7 @@ task :good_job do
|
||||
ENV["GOOD_JOB_QUEUES"] = [
|
||||
"manual:4",
|
||||
"static_file:4",
|
||||
"+static_file,fa_post:2",
|
||||
"+static_file,fa_post:4",
|
||||
"+fa_user_page,fa_user_gallery:2",
|
||||
"-static_file,fa_post,manual,fa_user_page,fa_user_gallery,twitter_timeline_tweets:2",
|
||||
].join(";")
|
||||
@@ -40,7 +40,7 @@ task :good_job do
|
||||
proxy = ENV["proxy"]
|
||||
raise("'proxy' must be set") unless proxy
|
||||
raise("'proxy' must be one of #{proxies}") unless proxies.include?(proxy)
|
||||
cmd = "bundle exec good_job"
|
||||
cmd = "bundle exec good_job --queue-select-limit=256"
|
||||
puts "$> #{cmd}"
|
||||
exec(cmd)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user