コード例 #1
0
 def successJobExecution(self, jobId):
     self.DEBUG("In %s.successJobExecution(%s)" % (self.__class__.__name__, jobId))
     with self.locked():
         self.__semaphoreNbThreads.release()
         EDJob.cleanJobfromID(jobId, False)
         self.lastSuccess = jobId
         gc.collect()
コード例 #2
0
ファイル: tango-EdnaDS.py プロジェクト: antolinos/edna
 def successJobExecution(self, jobId):
     self.DEBUG("In %s.successJobExecution(%s)" % (self.get_name(), jobId))
     with self.locked():
         self.__semaphoreNbThreads.release()
         EDJob.cleanJobfromID(jobId, False)
         self.lastSuccess = jobId
         self.push_change_event("jobSuccess", jobId)
         gc.collect()
コード例 #3
0
ファイル: tango-EdnaDS.py プロジェクト: gbourgh/edna
 def successJobExecution(self, jobId):
     self.DEBUG("In %s.successJobExecution(%s)" % (self.get_name(), jobId))
     with self.locked():
         self.__semaphoreNbThreads.release()
         EDJob.cleanJobfromID(jobId, False)
         self.lastSuccess = jobId
         self.push_change_event("jobSuccess", jobId)
         gc.collect()
コード例 #4
0
 def failureJobExecution(self, jobId):
     self.DEBUG("In %s.failureJobExecution(%s)" % (self.__class__.__name__, jobId))
     with self.locked():
         self.__semaphoreNbThreads.release()
         EDJob.cleanJobfromID(jobId, False)
         self.lastFailure = jobId
         sys.stdout.flush()
         sys.stderr.flush()
         gc.collect()
コード例 #5
0
ファイル: tango-EdnaDS.py プロジェクト: antolinos/edna
 def failureJobExecution(self, jobId):
     self.DEBUG("In %s.failureJobExecution(%s)" % (self.get_name(), jobId))
     with self.locked():
         self.__semaphoreNbThreads.release()
         EDJob.cleanJobfromID(jobId, False)
         self.lastFailure = jobId
         self.push_change_event("jobFailure", jobId)
         sys.stdout.flush()
         sys.stderr.flush()
         gc.collect()
コード例 #6
0
ファイル: tango-EdnaDS.py プロジェクト: gbourgh/edna
 def failureJobExecution(self, jobId):
     self.DEBUG("In %s.failureJobExecution(%s)" % (self.get_name(), jobId))
     with self.locked():
         self.__semaphoreNbThreads.release()
         EDJob.cleanJobfromID(jobId, False)
         self.lastFailure = jobId
         self.push_change_event("jobFailure", jobId)
         sys.stdout.flush()
         sys.stderr.flush()
         gc.collect()