Skip to content

Input throttle#28

Merged
Thomas-S-Allen merged 4 commits intoadsabs:masterfrom
Thomas-S-Allen:input_throttle
Apr 2, 2026
Merged

Input throttle#28
Thomas-S-Allen merged 4 commits intoadsabs:masterfrom
Thomas-S-Allen:input_throttle

Conversation

@Thomas-S-Allen
Copy link
Copy Markdown
Contributor

Allows time delay when inputting large batches with multiple subdirectories. Also allows skipping of already processed subdirectories if the process terminates early.

Copy link
Copy Markdown
Member

@ehenneken ehenneken left a comment

Choose a reason for hiding this comment

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

When adding new functionality, there should be a unittest for it

run.py Outdated
if args.time_delay:
delay_rate = args.time_delay
else:
delay_rate = 1000.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Make 1000. a value set in the config (like DEFAULT_DELAY)

@Thomas-S-Allen Thomas-S-Allen merged commit 0f02aa5 into adsabs:master Apr 2, 2026
1 check passed
@Thomas-S-Allen Thomas-S-Allen deleted the input_throttle branch April 2, 2026 15:18
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.

2 participants