forked from OpenNeo/impress
bump up pet load timeout
This commit is contained in:
parent
f59fa92aa1
commit
2cc688f7ff
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue