Changeset 184
- Timestamp:
- 08/03/05 16:34:28 (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/togad.py
r183 r184 477 477 mytime = int( jobinfo['reported'] ) + int( jobinfo['poll_interval'] ) 478 478 479 if mytime < self.heartbeat and jobid not in self.jobs_processed and jobinfo['status'] == 'R':479 if (mytime < self.heartbeat) and (jobid not in self.jobs_processed) and (jobinfo['status'] == 'R'): 480 480 481 481 if not jobid in self.jobs_processed: … … 492 492 for jobid in self.jobs_to_store: 493 493 if self.jobAttrs[ jobid ]['status'] in [ 'R', 'Q', 'F' ]: 494 self.ds.storeJobInfo( jobid, self.jobAttrs[ jobid ] ) 494 495 self.ds.storeJobInfo( jobid, self.jobAttrs[ jobid ] ) 496 497 if self.jobAttrs[ jobid ]['status'] == 'F': 498 del self.jobAttrs[ jobid ] 495 499 496 500 debug_msg( 1, 'torque_xml_thread(): Done storing.' ) -
trunk/plugin/togap.py
r174 r184 259 259 myAttrs['poll_interval'] = TORQUE_POLL_INTERVAL 260 260 261 if self.jobDataChanged( jobs, job_id, myAttrs ) :261 if self.jobDataChanged( jobs, job_id, myAttrs ) and myAttrs['status'] in [ 'R', 'Q' ]: 262 262 jobs[ job_id ] = myAttrs 263 263
Note: See TracChangeset
for help on using the changeset viewer.