From 2cc688f7ffb48e2a180b248196657a604fab484b Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 28 Jan 2013 17:52:10 -0600 Subject: [PATCH] bump up pet load timeout --- app/models/pet.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/pet.rb b/app/models/pet.rb index b30ec08c..cdf9a030 100644 --- a/app/models/pet.rb +++ b/app/models/pet.rb @@ -47,7 +47,7 @@ class Pet < ActiveRecord::Base begin neopets_language_code = I18n.compatible_neopets_language_code_for(I18n.locale) envelope = PET_VIEWER.request([name, 0]).post( - :timeout => 2, + :timeout => 4, :headers => { 'Cookie' => "lang=#{neopets_language_code}" }