mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 05:48:09 +00:00
Raise timeouts for Crowdin task again (#1652)
* build-logic: raise HTTP timeouts for Crowdin again * github: allow running Crowdin job manually
This commit is contained in:
parent
45b75b74c5
commit
910212b3ae
1
.github/workflows/sync_crowdin.yml
vendored
1
.github/workflows/sync_crowdin.yml
vendored
@ -1,5 +1,6 @@
|
||||
name: Sync localisations from Crowdin
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 6'
|
||||
|
||||
|
@ -49,10 +49,10 @@ class CrowdinDownloadPlugin : Plugin<Project> {
|
||||
}
|
||||
val client =
|
||||
OkHttpClient.Builder()
|
||||
.connectTimeout(5, TimeUnit.SECONDS)
|
||||
.writeTimeout(5, TimeUnit.SECONDS)
|
||||
.readTimeout(5, TimeUnit.SECONDS)
|
||||
.callTimeout(10, TimeUnit.SECONDS)
|
||||
.connectTimeout(5, TimeUnit.MINUTES)
|
||||
.writeTimeout(5, TimeUnit.MINUTES)
|
||||
.readTimeout(5, TimeUnit.MINUTES)
|
||||
.callTimeout(10, TimeUnit.MINUTES)
|
||||
.build()
|
||||
val url = CROWDIN_BUILD_API_URL.format(projectName, login.get(), key.get())
|
||||
val request = Request.Builder().url(url).get().build()
|
||||
|
Loading…
x
Reference in New Issue
Block a user