agola/internal/objectstorage
Simone Gotti 34cfdfeb3b objectstorage: add size option to WriteObject
On s3 limit the max object size to 1GiB when the size is not provided (-1) or
the minio client will calculate a big part size since it tries to use the
maximum object size (5TiB) and will allocate a very big buffer in ram. Also
leave as commented out the previous hack that was firstly creating the file
locally to calculate the size and then put it (for future reference).
2019-05-02 09:47:38 +02:00
..
objectstorage.go objectstorage: add size option to WriteObject 2019-05-02 09:47:38 +02:00
objectstorage_test.go objectstorage: add size option to WriteObject 2019-05-02 09:47:38 +02:00
posix.go objectstorage: add size option to WriteObject 2019-05-02 09:47:38 +02:00
posix_test.go objectstorage: add size option to WriteObject 2019-05-02 09:47:38 +02:00
s3.go objectstorage: add size option to WriteObject 2019-05-02 09:47:38 +02:00