From f3202e15d6f6e229b67988baddc2493b012c86c6 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer <raphael@joindiaspora.com> Date: Fri, 25 Feb 2011 13:38:10 -0800 Subject: [PATCH] add follow_location to typhoeus default jobs --- app/models/jobs/http_multi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/jobs/http_multi.rb b/app/models/jobs/http_multi.rb index d955bd52dd..c6f5303828 100644 --- a/app/models/jobs/http_multi.rb +++ b/app/models/jobs/http_multi.rb @@ -3,7 +3,7 @@ module Job @queue = :http 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) user = User.find(user_id) -- GitLab