garm/config
Gabriel Adrian Samfira 73b330467b Use tmp storage while uploading, use tx where needed
Use temporary storage while the client is streaming the file to GARM.
This ensures that while uploading, we don't lock the blob database. On slow
connections this would mean that no readers would be able to access the db
while data was being written to it via the upload process.

By saving the file to a temporary location and only after we receive the
entire thing, add it to the DB, we significantly reduce the time we need to
keep the DB locked.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2025-10-08 22:22:58 +03:00
..
testdata Don't save runner registration tolen in DB 2022-12-06 19:48:00 +00:00
config.go Use tmp storage while uploading, use tx where needed 2025-10-08 22:22:58 +03:00
config_test.go Cache jobs in pool manager 2025-10-05 00:49:41 +03:00
external.go Version provider interface 2024-08-21 16:14:38 +03:00
external_test.go Replace errors.Wrap calls 2024-03-02 19:07:06 +00:00