Skip to content

Commit 15c9074

Browse files
authored
DEVEX-2498 Increase part upload timeout from 60 to 300 seconds (#1436)
1 parent 86b8c4f commit 15c9074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/python/dxpy/bindings/dxfile.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747

4848
MD5_READ_CHUNK_SIZE = 1024*1024*4
4949
FILE_REQUEST_TIMEOUT = 60
50+
PART_UPLOAD_REQUEST_TIMEOUT_SECONDS = 300
5051

5152

5253
def _validate_headers(headers):
@@ -715,7 +716,7 @@ def get_upload_url_and_headers():
715716
jsonify_data=False,
716717
prepend_srv=False,
717718
always_retry=True,
718-
timeout=FILE_REQUEST_TIMEOUT,
719+
timeout=PART_UPLOAD_REQUEST_TIMEOUT_SECONDS,
719720
auth=None,
720721
method='PUT')
721722

0 commit comments

Comments
 (0)