Skip to content

Use max_concurrency rather than max_threads#581

Merged
aantron merged 1 commit into
ocsigen:masterfrom
hcarty:concurrency-not-threads
Apr 20, 2018
Merged

Use max_concurrency rather than max_threads#581
aantron merged 1 commit into
ocsigen:masterfrom
hcarty:concurrency-not-threads

Conversation

@hcarty
Copy link
Copy Markdown
Contributor

@hcarty hcarty commented Apr 20, 2018

Lwt.iter_n's optional max_threads argument incorrectly used the old
terminology. This new argument name (max_concurrency) hopefully makes
the intent more clear for users.

Fixes #578

Lwt.iter_n's optional max_threads argument incorrectly used the old
terminology.  This new argument name (max_concurrency) hopefully makes
the intent more clear for users.

Fixes ocsigen#578
@hcarty
Copy link
Copy Markdown
Contributor Author

hcarty commented Apr 20, 2018

This also adds a bit more prose to the Lwt_stream.iter_n doc comment. Feedback on that is welcome.

@aantron aantron merged commit 151f857 into ocsigen:master Apr 20, 2018
@aantron
Copy link
Copy Markdown
Collaborator

aantron commented Apr 20, 2018

Thanks!

@hcarty
Copy link
Copy Markdown
Contributor Author

hcarty commented Apr 20, 2018

Thank you too!

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