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(global): add —delay flag #551

Merged
merged 10 commits into from
Apr 17, 2024
Merged

feat(global): add —delay flag #551

merged 10 commits into from
Apr 17, 2024

Conversation

XMLHexagram
Copy link
Contributor

close #464

@XMLHexagram XMLHexagram changed the title WIP: feat(global): add —delay flag feat(global): add —delay flag Mar 24, 2024
@iyear iyear self-requested a review April 15, 2024 16:00
pkg/downloader/iter.go Outdated Show resolved Hide resolved
@iyear
Copy link
Owner

iyear commented Apr 16, 2024

I prefer placing the delay within the iterator, delaying n seconds every time the iterator iterates to the next item. This will keep things simple and reliable.

I'll make some changes to this PR before merging it.

@iyear iyear merged commit ece1c65 into iyear:master Apr 17, 2024
2 checks passed
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.

[Feat] Global Delay in Global Config
2 participants