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:
parent
ae8e071fab
commit
affcd80a80
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue