add follow_location to typhoeus default jobs
This commit is contained in:
parent
c5e0bc40bb
commit
f3202e15d6
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ module Job
|
||||||
@queue = :http
|
@queue = :http
|
||||||
|
|
||||||
MAX_RETRIES = 3
|
MAX_RETRIES = 3
|
||||||
OPTS = {:max_redirects => 3, :timeout => 5000, :method => :post}
|
OPTS = {:max_redirects => 3, :follow_location => true, :timeout => 5000, :method => :post}
|
||||||
|
|
||||||
def self.perform_delegate(user_id, enc_object_xml, person_ids, retry_count=0)
|
def self.perform_delegate(user_id, enc_object_xml, person_ids, retry_count=0)
|
||||||
user = User.find(user_id)
|
user = User.find(user_id)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue