Nuke: adding concurrent tasks attribute to job submission

also adding to settings
This commit is contained in:
Jakub Jezek 2022-04-01 14:42:39 +02:00
parent 5fc3c9f0f8
commit d63a0aad71
No known key found for this signature in database
GPG key ID: D8548FBF690B100A
3 changed files with 17 additions and 0 deletions

View file

@ -27,6 +27,7 @@ class NukeSubmitDeadline(pyblish.api.InstancePlugin):
# presets
priority = 50
chunk_size = 1
concurent_task = 1
primary_pool = ""
secondary_pool = ""
group = ""
@ -177,6 +178,7 @@ class NukeSubmitDeadline(pyblish.api.InstancePlugin):
"Priority": priority,
"ChunkSize": chunk_size,
"ConcurrentTasks": self.concurent_task,
"Department": self.department,
"Pool": self.primary_pool,

View file

@ -62,6 +62,7 @@
"use_published": true,
"priority": 50,
"chunk_size": 10,
"concurent_task": 1,
"primary_pool": "",
"secondary_pool": "",
"group": "",

View file

@ -192,6 +192,9 @@
"key": "use_published",
"label": "Use Published scene"
},
{
"type": "splitter"
},
{
"type": "number",
"key": "priority",
@ -202,6 +205,14 @@
"key": "chunk_size",
"label": "Chunk Size"
},
{
"type": "number",
"key": "concurent_task",
"label": "Number of concurent tasks"
},
{
"type": "splitter"
},
{
"type": "text",
"key": "primary_pool",
@ -217,6 +228,9 @@
"key": "group",
"label": "Group"
},
{
"type": "splitter"
},
{
"type": "text",
"key": "department",