1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/storage
OpenShift Cherrypick Robot 6722a23dd2 [redhat-3.11] storage: Increase GCP timeout (PROJQUAY-6819) (#2745)
* storage: Increase GCP timeout (PROJQUAY-6819) Currently, Boto GCP timeout is set to 60 seconds which causes a problem in pushing big layers. This will increase boto timeout to 10 minutes to be more aligned with our other S3 engines. Result:

~~~
root@cyberdyne:~# time { docker push quay.skynet/ibazulic/gcp-test; }
Using default tag: latest
The push refers to repository [quay.skynet/ibazulic/gcp-test]
4335316598de: Pushed
d101c9453715: Pushed
latest: digest: sha256:c6ffbd16c2ef43496ff13c130e31be84ceccdb5408e4f0d3b0f06ae94d378ff9 size: 744

real	7m9.881s
user	0m0.204s
sys	0m0.077s
root@cyberdyne:~#
~~~

* Fix isort sorting

* Made `boto_timeout` configurable, defaults to 60

* Made `boto_timeout` configurable, fix isort issues

* Remove reference to `self.boto_timeout`

---------

Co-authored-by: Ivan Bazulic <ibazulic@redhat.com>
2024-03-17 16:14:30 -04:00
..