Changeset 184 for trunk/daemon
- Timestamp:
- 08/03/05 16:34:28 (18 years ago)
- File:
-
- 1 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.' )
Note: See TracChangeset
for help on using the changeset viewer.