mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Added RequiredMemory
Without it default (4GB) is used.
This commit is contained in:
parent
07139db41c
commit
ddf0b3b3ec
1 changed files with 6 additions and 2 deletions
|
|
@ -4,7 +4,11 @@ import tempfile
|
||||||
import platform
|
import platform
|
||||||
|
|
||||||
from pyblish.api import IntegratorOrder, ContextPlugin, Context
|
from pyblish.api import IntegratorOrder, ContextPlugin, Context
|
||||||
from openpype.modules.royalrender.api import RRJob, Api as rrApi
|
from openpype.modules.royalrender.api import (
|
||||||
|
RRJob,
|
||||||
|
Api as rrApi,
|
||||||
|
SubmitterParameter
|
||||||
|
)
|
||||||
from openpype.pipeline.publish import KnownPublishError
|
from openpype.pipeline.publish import KnownPublishError
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -95,7 +99,7 @@ class SubmitJobsToRoyalRender(ContextPlugin):
|
||||||
return temp.name
|
return temp.name
|
||||||
|
|
||||||
def get_submission_parameters(self):
|
def get_submission_parameters(self):
|
||||||
return []
|
return [SubmitterParameter("RequiredMemory", "0")]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _resolve_rr_path(context, rr_path_name):
|
def _resolve_rr_path(context, rr_path_name):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue