@nexrender/cli 1.46.5 → 1.46.7

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/bin.js +5 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexrender/cli",
3
- "version": "1.46.5",
3
+ "version": "1.46.7",
4
4
  "author": "inlife",
5
5
  "main": "src/index.js",
6
6
  "homepage": "https://www.nexrender.com",
@@ -19,7 +19,7 @@
19
19
  ]
20
20
  },
21
21
  "dependencies": {
22
- "@nexrender/core": "^1.46.5",
22
+ "@nexrender/core": "^1.46.7",
23
23
  "arg": "^4.1.0",
24
24
  "chalk": "^2.4.2",
25
25
  "rimraf": "^3.0.2"
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "197c84f1799c2c147c70b06b0568ae5ecbb1a2a5"
30
+ "gitHead": "8adbbfc9c6df6890e1e7fc63c270e1725311078e"
31
31
  }
package/src/bin.js CHANGED
@@ -34,6 +34,7 @@ const args = arg({
34
34
 
35
35
  '--max-memory-percent': Number,
36
36
  '--image-cache-percent': Number,
37
+ '--max-render-timeout': Number,
37
38
 
38
39
  '--aerender-parameter': [String],
39
40
 
@@ -122,6 +123,9 @@ if (args['--help']) {
122
123
  the value is a percentage of the installed RAM, and is otherwise a percentage of n.
123
124
  The value of n is 2 GB for 32-bit Windows, 4 GB for 64-bit Windows, and 3.5 GB for Mac OS.
124
125
 
126
+ --max-render-timeout set max render timeout in seconds,
127
+ will abort rendering if it takes longer than this value (default: 0 -disabled)
128
+
125
129
  --image-cache-percent (from Adobe site): specifies the maximum percentage of memory used
126
130
  to cache already rendered images and footage.
127
131
 
@@ -136,7 +140,6 @@ if (args['--help']) {
136
140
  enclosed in single quotes. For example:
137
141
  nexrender --aerender-parameter 'close SAVE_CHANGES' --ae 'i 10' job.json
138
142
 
139
-
140
143
  {bold ENV VARS}
141
144
 
142
145
  NEXRENDER_API_POLLING amount of miliseconds to wait before checking queued projects from the api
@@ -178,6 +181,7 @@ opt('multiFramesCPU', '--multi-frames-cpu');
178
181
  opt('reuse', '--reuse');
179
182
  opt('stopOnError', '--stop-on-error');
180
183
  opt('maxMemoryPercent', '--max-memory-percent');
184
+ opt('maxRenderTimeout', '--max-render-timeout');
181
185
  opt('imageCachePercent', '--image-cache-percent');
182
186
  opt('wslMap', '--wsl-map');
183
187
  opt('aeParams', '--aerender-parameter');