bump up pet load timeout

This commit is contained in:
Emi Matchu 2013-01-28 17:52:10 -06:00
parent f59fa92aa1
commit 2cc688f7ff

View file

@ -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}"
}