Skip to content

Commit

Permalink
Remove special case for playblast. (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbijl committed Feb 19, 2021
1 parent 00963b1 commit 58c81fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions rqd/rqd/rqconstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
OVERRIDE_NIMBY = None # True to turn on, False to turn off
OVERRIDE_HOSTNAME = None # Force to use this hostname
ALLOW_GPU = False
ALLOW_PLAYBLAST = False
LOAD_MODIFIER = 0 # amount to add/subtract from load

if subprocess.getoutput('/bin/su --help').find('session-command') != -1:
Expand Down Expand Up @@ -156,8 +155,6 @@
OVERRIDE_HOSTNAME = config.get(__section, "OVERRIDE_HOSTNAME")
if config.has_option(__section, "GPU"):
ALLOW_GPU = config.getboolean(__section, "GPU")
if config.has_option(__section, "PLAYBLAST"):
ALLOW_PLAYBLAST = config.getboolean(__section, "PLAYBLAST")
if config.has_option(__section, "LOAD_MODIFIER"):
LOAD_MODIFIER = config.getint(__section, "LOAD_MODIFIER")
if config.has_option(__section, "RQD_USE_IP_AS_HOSTNAME"):
Expand Down
2 changes: 0 additions & 2 deletions rqd/rqd/rqmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,6 @@ def __getGpuValues(self):
if not hasattr(self, 'gpuNotSupported'):
if not hasattr(self, 'gpuResults'):
self.gpuResults = {'total': 0, 'free': 0, 'updated': 0}
if rqd.rqconstants.ALLOW_PLAYBLAST and not rqd.rqconstants.ALLOW_GPU:
return {'total': 262144, 'free': 262144, 'updated': 0}
if not rqd.rqconstants.ALLOW_GPU:
self.gpuNotSupported = True
return self.gpuResults
Expand Down

0 comments on commit 58c81fb

Please sign in to comment.