mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix incorrect env max concurrent transforms (#8134)
This commit is contained in:
@@ -18,7 +18,7 @@ sharp.concurrency(1);
|
||||
|
||||
// Note: don't put this in the service. The service can be initialized in multiple places, but they
|
||||
// should all share the same semaphore instance.
|
||||
const semaphore = new Semaphore(env.ASSETS_MAX_CONCURRENT_TRANSFORMATIONS);
|
||||
const semaphore = new Semaphore(env.ASSETS_TRANSFORM_MAX_CONCURRENT);
|
||||
|
||||
export class AssetsService {
|
||||
knex: Knex;
|
||||
|
||||
Reference in New Issue
Block a user