Skip to content
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

feat: Add interrupt-after to xmlupload and resume-xmlupload (DEV-3390) #862

Conversation

BalduinLandolt
Copy link
Collaborator

No description provided.

@BalduinLandolt BalduinLandolt self-assigned this Mar 7, 2024
Copy link

linear bot commented Mar 7, 2024

@BalduinLandolt BalduinLandolt changed the base branch from main to wip/DEV-3323-resume-an-interrupted-xmlupload March 7, 2024 11:55
Comment on lines 414 to 415
if i >= interrupt_after:
raise KeyboardInterrupt(f"Interrupted: Maximum number of resources was reached ({interrupt_after})")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: i think these lines should be at the very beginning of the for loop, i.e. on line 405

@jnussbaum jnussbaum marked this pull request as ready for review March 7, 2024 14:05
@jnussbaum jnussbaum merged commit 753a5fe into wip/DEV-3323-resume-an-interrupted-xmlupload Mar 7, 2024
8 checks passed
@jnussbaum jnussbaum deleted the feature/dev-3390-add-batching-to-xml-upload-and-resume branch March 7, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants