Skip to content

Commit

Permalink
Add debugging statement
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Jan 8, 2024
1 parent 1b88ef1 commit bd421c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion adaptive_scheduler/_server_support/job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ async def _start_new_jobs(
job_name = not_queued.pop()
queued.add(job_name)
index, fname = self.database_manager._choose_fname(job_name)
# TODO: pick the right resources for the job (not yet implemented!)
log.debug(
f"Starting `job_name={job_name}` with `index={index}` and `fname={fname}`",
)
await loop.run_in_executor(ex, self.scheduler.start_job, job_name)
self.n_started += 1
self._request_times[job_name] = _now()
Expand Down

0 comments on commit bd421c4

Please sign in to comment.