Skip to content

Commit e30c102

Browse files
authored
Merge branch 'master' into rkepych_security_2
2 parents 5f1794a + 15c9074 commit e30c102

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)