Closed mduft closed 4 years ago
Hi mduft, thanks for bringing this to my attention.
I've added a new field client
that you can use to configure OkHttp
import okhttp3.OkHttpClient
githubRelease {
client new OkHttpClient.Builder()
.writeTimeout(5, TimeUnit.Minutes)
.build()
}
Now that was fast :) Thanks a lot, I was able to successfully upload a release with a 10 minutes read timeout xD It seems that the processing of the file after the upload took some time on the github server and that triggered the read timeout.
First of all: Thanks! This is a great plugin :)
I'm currently trying to integrate it for our software. We have two release artifacts which are quite large (and a few smaller ones). They are ~180MB large each. Upload fails on the first one already:
I did not find any way to configure timeouts for OkHttp currently - is there one? If not, is there a way to provide one? Thanks!