Commit graph

4 commits

Author SHA1 Message Date
8b27353be7 fup: set buffer size to 8MiB
SeaweedFS' default chunk size is 4MiB; if we don't match it (or a multiple)
then our multipart uploads become uneven because they end up as chunks of the
buffer size followed by the remaining data. This is particularly egregious with
the current default of 5MiB, because then we get a 4MiB chunk followed by a
1MiB chunk every time.
2024-10-20 17:23:36 +01:00
2306915e2c fup: implement file uploads!
TODO: tests for this.
2021-03-21 18:04:37 +00:00
de4897da06 fup/fuphttp: add missing SPDX comments 2021-03-21 15:34:50 +00:00
4c4bd46aa8 fup: factor out metadata retrieval into a separate file
We'll need this for cleanup operations as well. This should likely be factored
out again into an entirely separate package that deals with storage access.
2021-03-21 15:17:46 +00:00