@nexrender/worker 1.54.4 → 1.55.0
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 +3 -3
- package/src/bin.js +11 -7
- package/src/instance.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexrender/worker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.55.0",
|
|
4
4
|
"author": "inlife",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"homepage": "https://www.nexrender.com",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@nexrender/api": "^1.50.1",
|
|
23
|
-
"@nexrender/core": "^1.54.
|
|
23
|
+
"@nexrender/core": "^1.54.5",
|
|
24
24
|
"@nexrender/types": "^1.45.6",
|
|
25
25
|
"arg": "^4.1.0",
|
|
26
26
|
"chalk": "^2.4.2",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "4fa2eb2322504330986ccd9973b339aa91905e8b"
|
|
33
33
|
}
|
package/src/bin.js
CHANGED
|
@@ -29,6 +29,7 @@ const args = arg({
|
|
|
29
29
|
'--tolerate-empty-queues': Number,
|
|
30
30
|
'--stop-at-time': String,
|
|
31
31
|
'--stop-days': String,
|
|
32
|
+
'--wait-between-jobs': Number,
|
|
32
33
|
|
|
33
34
|
'--skip-cleanup': Boolean,
|
|
34
35
|
'--skip-render': Boolean,
|
|
@@ -126,15 +127,15 @@ if (args['--help']) {
|
|
|
126
127
|
--tolerate-empty-queues worker will check an empty queue this many times before exiting (if that option has
|
|
127
128
|
been set using --exit-on-empty-queues). Defaults to zero. If specified will be used instead of
|
|
128
129
|
NEXRENDER_TOLERATE_EMPTY_QUEUES env variable
|
|
129
|
-
|
|
130
|
+
|
|
130
131
|
--stop-at-time worker will exit at the given time if given.
|
|
131
|
-
example: 5:00 will stop at 5 am local time.
|
|
132
|
-
|
|
132
|
+
example: 5:00 will stop at 5 am local time.
|
|
133
|
+
|
|
133
134
|
--stop-days comma separated list of weekdays when to stop. Must be used together with --stop-at-time
|
|
134
135
|
0 is sunday, 6 is saturday
|
|
135
136
|
example: --stop-at-time=5:00 stop-days=1,2,3,4,5
|
|
136
|
-
will stop at 5 am but not on weekend
|
|
137
|
-
|
|
137
|
+
will stop at 5 am but not on weekend
|
|
138
|
+
|
|
138
139
|
--no-license prevents creation of the ae_render_only_node.txt file (enabled by default),
|
|
139
140
|
which allows free usage of trial version of Adobe After Effects
|
|
140
141
|
|
|
@@ -152,6 +153,8 @@ if (args['--help']) {
|
|
|
152
153
|
--polling amount of miliseconds to wait before checking queued projects from the api,
|
|
153
154
|
if specified will be used instead of NEXRENDER_API_POLLING env variable
|
|
154
155
|
|
|
156
|
+
--wait-between-jobs amount of miliseconds to wait before checking queued projects from the api
|
|
157
|
+
|
|
155
158
|
--header Define custom header that the worker will use to communicate with nexrender-server.
|
|
156
159
|
Accepted format follows curl or wget request header definition,
|
|
157
160
|
eg. --header="Some-Custom-Header: myCustomValue".
|
|
@@ -178,8 +181,8 @@ if (args['--help']) {
|
|
|
178
181
|
--aerender-parameter, --ae forward parameter to aerender (see Adobe site). Parameters with arguments have to be
|
|
179
182
|
enclosed in single quotes. For example:
|
|
180
183
|
nexrender --aerender-parameter 'close SAVE_CHANGES' --ae 'i 10' job.json
|
|
181
|
-
|
|
182
|
-
--language language of local after effects installation. currently only en and de are supported
|
|
184
|
+
|
|
185
|
+
--language language of local after effects installation. currently only en and de are supported
|
|
183
186
|
|
|
184
187
|
|
|
185
188
|
{bold ENV VARS}
|
|
@@ -234,6 +237,7 @@ opt('tolerateEmptyQueues', '--tolerate-empty-queues');
|
|
|
234
237
|
opt('exitOnEmptyQueue', '--exit-on-empty-queue');
|
|
235
238
|
opt('stopAtTime', '--stop-at-time');
|
|
236
239
|
opt('stopDays', '--stop-days');
|
|
240
|
+
opt('waitBetweenJobs', '--wait-between-jobs');
|
|
237
241
|
opt('maxMemoryPercent', '--max-memory-percent');
|
|
238
242
|
opt('imageCachePercent', '--image-cache-percent');
|
|
239
243
|
opt('polling', '--polling');
|
package/src/instance.js
CHANGED