Bug 1458 - la page clusterstatus ne répond plus
- slightly improved speed by preventing unnecessary requests of job array element details However, the big hit in performance is still in the dictionary of jobs in JobsState
This commit is contained in:
parent
c0fa682d20
commit
1cff78822e
|
@ -50,6 +50,9 @@ class JobId:
|
||||||
def isJobArrayElement( self ):
|
def isJobArrayElement( self ):
|
||||||
return (self.m_iJobArrayElementId != None)
|
return (self.m_iJobArrayElementId != None)
|
||||||
|
|
||||||
|
def getMainId(self):
|
||||||
|
return self.m_iJobId
|
||||||
|
|
||||||
def asStr( self ):
|
def asStr( self ):
|
||||||
strResult = '%s' % self.m_iJobId
|
strResult = '%s' % self.m_iJobId
|
||||||
if self.isJobArrayElement():
|
if self.isJobArrayElement():
|
||||||
|
|
Loading…
Reference in New Issue