-
Notifications
You must be signed in to change notification settings - Fork 251
[qob] Use one batch for the lifetime of a hl.ServiceBackend #12464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qob] Use one batch for the lifetime of a hl.ServiceBackend #12464
Conversation
f6954c6
to
f28e217
Compare
4a9c845
to
f33c72a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
progress=progress) | ||
# FIXME Should we not `print`? | ||
url = deploy_config.external_url('batch', f'/batches/{self._batch.id}/jobs/{j.job_id}') | ||
print(f'Submitted to batch {self._batch.id}, see {url}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm somewhat inclined to not print. The progress bar should provide all necessary information
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to axe that.
ec882a2
to
ee1133a
Compare
CHANGELOG: When using Query-on-Batch, all jobs for a single hail session are inserted into the same batch instead of one batch per action.