@nexrender/core 1.54.4 → 1.54.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexrender/core",
3
- "version": "1.54.4",
3
+ "version": "1.54.5",
4
4
  "main": "src/index.js",
5
5
  "author": "Inlife",
6
6
  "homepage": "https://www.nexrender.com",
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "a24bdf4c6f52af40da51039a71b6a7d07b373f2e"
44
+ "gitHead": "3a39217ea769e9d086d65d8cd2538c14cc3826d6"
45
45
  }
package/src/index.js CHANGED
@@ -97,6 +97,7 @@ const init = (settings) => {
97
97
 
98
98
  // amount of seconds before job will be marked as "stuck"
99
99
  maxUpdateTimeout: process.env.NEXRENDER_MAX_UPDATE_TIMEOUT || 60,
100
+ killAEFXOnRenderTimeout: process.env.NEXRENDER_KILL_AEFX_ON_RENDER_TIMEOUT || false,
100
101
 
101
102
  __initialized: true,
102
103
  }, settings, {
@@ -294,7 +294,8 @@ Estimated date of change to the new behavior: 2023-06-01.\n`);
294
294
  settings.trackSync('Job Render Failed', { job_id: job.uid, error: 'aerender_timeout' });
295
295
  reject(new Error(`Maximum rendering time exceeded`));
296
296
  crossPlatformKill(instance)
297
- killProcessByName('AfterFX.com')
297
+ if (settings.killAEFXOnRenderTimeout)
298
+ killProcessByName('AfterFX.com')
298
299
  },
299
300
  timeout
300
301
  );