support "prefer-no-job" for chunk uploads

This commit is contained in:
SrGooglo 2025-06-16 20:41:22 +00:00
parent 596c8df44f
commit 93ed9b967d
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ export default {
// if has transformations, use background job
if (
(transformations && transformations.length > 0) ||
config.useCompression
(config.useCompression && !req.headers["prefer-no-job"])
) {
const job = await global.queues.createJob(
"file-process",

2
vessel

@ -1 +1 @@
Subproject commit e1d44d19e6270c8ed9cb63a041e0fac8c49b988f
Subproject commit bab0be8768ddd2cf88edae9530c8a489b8d2a6e7