Applied same http timeout for fetching locales and translations.
This commit is contained in:
parent
6d077f4ac5
commit
260099b510
2 changed files with 4 additions and 2 deletions
|
@ -99,6 +99,8 @@ all:
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
json: true,
|
json: true,
|
||||||
|
open_timeout: 8,
|
||||||
|
read_timeout: 24,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -81,8 +81,8 @@ push translations to online
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
json: true,
|
json: true,
|
||||||
open_timeout: 6,
|
open_timeout: 8,
|
||||||
read_timeout: 16,
|
read_timeout: 24,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
raise "Can't push translations to #{url}: #{result.error}" if !result.success?
|
raise "Can't push translations to #{url}: #{result.error}" if !result.success?
|
||||||
|
|
Loading…
Reference in a new issue