Applied same http timeout for fetching locales and translations.

This commit is contained in:
Martin Edenhofer 2017-09-23 14:31:16 +02:00
parent 6d077f4ac5
commit 260099b510
2 changed files with 4 additions and 2 deletions

View file

@ -99,6 +99,8 @@ all:
},
{
json: true,
open_timeout: 8,
read_timeout: 24,
}
)

View file

@ -81,8 +81,8 @@ push translations to online
},
{
json: true,
open_timeout: 6,
read_timeout: 16,
open_timeout: 8,
read_timeout: 24,
}
)
raise "Can't push translations to #{url}: #{result.error}" if !result.success?