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

Allow to set duration instead of seconds for task wait configuration #358

Merged
merged 2 commits into from
Sep 2, 2021

Conversation

finnefloyd
Copy link
Contributor

I some cases, you want to have a high number of request from a small amount of users which is not possible with second as the time units. This allow you to set a waiting time in Duration.

src/user.rs Outdated Show resolved Hide resolved
src/user.rs Outdated Show resolved Hide resolved
@jeremyandrews
Copy link
Member

Another very nice PR, thanks again! I'll merge once you address the minor feedback above to make the code a little more readable.

@finnefloyd
Copy link
Contributor Author

Thank you, I have addressed your comments.

@jeremyandrews
Copy link
Member

All it needs is a line added to CHANGELOG, and like the other API changes note that this is too.

@jeremyandrews jeremyandrews merged commit 3d31a02 into tag1consulting:main Sep 2, 2021
@jeremyandrews jeremyandrews mentioned this pull request Sep 15, 2021
@zezic zezic mentioned this pull request Oct 7, 2021
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