mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-18 06:54:15 +00:00
support "prefer-no-job" for chunk uploads
This commit is contained in:
parent
596c8df44f
commit
93ed9b967d
@ -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
2
vessel
@ -1 +1 @@
|
||||
Subproject commit e1d44d19e6270c8ed9cb63a041e0fac8c49b988f
|
||||
Subproject commit bab0be8768ddd2cf88edae9530c8a489b8d2a6e7
|
Loading…
x
Reference in New Issue
Block a user