mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +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
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
|
@ -95,7 +99,7 @@ class SubmitJobsToRoyalRender(ContextPlugin):
|
|||
return temp.name
|
||||
|
||||
def get_submission_parameters(self):
|
||||
return []
|
||||
return [SubmitterParameter("RequiredMemory", "0")]
|
||||
|
||||
@staticmethod
|
||||
def _resolve_rr_path(context, rr_path_name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue