Skip to content

Commit

Permalink
some more logging for queued/processing tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 15, 2024
1 parent 48e431b commit e204ca1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iceprod/server/plugins/condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,9 @@ def get_queue_num(self) -> int:
counts[job.status] += 1

idle_jobs = counts[JobStatus.IDLE]
logger.info('idle jobs: %r', idle_jobs)
processing_jobs = counts[JobStatus.RUNNING]
logger.info('processing jobs: %r', processing_jobs)
queue_tot_max = self.cfg['queue']['max_total_tasks_on_queue'] - idle_jobs - processing_jobs
queue_idle_max = self.cfg['queue']['max_idle_tasks_on_queue'] - idle_jobs
queue_interval_max = self.cfg['queue']['max_tasks_per_submit']
Expand Down

0 comments on commit e204ca1

Please sign in to comment.