Skip to content

Commit

Permalink
Pass user to count_jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbooth92 committed Jun 21, 2022
1 parent bde446c commit 0a4e72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch_ndcafmaker_campaign.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def wait_for_grid_availability(wait_time, log, max_jobs):
while n_current_jobs > max_jobs:
log.info("... that's too many, waiting for " + str(wait_time) + " seconds.")
time.sleep(wait_time)
n_current_jobs=count_current_jobs()
n_current_jobs=count_current_jobs(user)
log.info("There are currently "+str(n_current_jobs)+" jobs under " + user + " user...")

log.info("That's fine, will go ahead with submission")
Expand Down

0 comments on commit 0a4e72d

Please sign in to comment.