Fix timeout during upload from slow resource

To prevent timeouts during upload images from
slow resources it's recommended to reduce chunk
size from 16mb to 4mb.

Change-Id: If994748e6571123370d26eea347ee1bfb5639711
Closes-Bug: 1429785
This commit is contained in:
Mike Fedosin 2015-03-09 13:45:41 +03:00
parent ae8e071fab
commit affcd80a80
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ LOG = logging.getLogger(__name__)
class Store(capabilities.StoreCapability):
OPTIONS = None
READ_CHUNKSIZE = 16 * units.Mi # 16M
READ_CHUNKSIZE = 4 * units.Mi # 4M
WRITE_CHUNKSIZE = READ_CHUNKSIZE
def __init__(self, conf):