Skip to content

Reduce Prefetch Limit for PagedIterable and IterableStream#6538

Merged
alzimmermsft merged 4 commits into
Azure:masterfrom
alzimmermsft:AzCore_InvestigateEagerPagedIterable
Nov 25, 2019
Merged

Reduce Prefetch Limit for PagedIterable and IterableStream#6538
alzimmermsft merged 4 commits into
Azure:masterfrom
alzimmermsft:AzCore_InvestigateEagerPagedIterable

Conversation

@alzimmermsft

Copy link
Copy Markdown
Member

Reduces scope of #6518

PagedIterable and IterableStream were updated to use the prefetch overload of toIterable and toStream, a prefetch of 1 is used instead of the default of 256. This change reduces the scope of issue #6518 which saw eager retrieval of the next 256 pages or number of paged responses, whichever is less.

Comment thread sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedIterableBase.java Outdated
@alzimmermsft
alzimmermsft merged commit 9b162ed into Azure:master Nov 25, 2019
@alzimmermsft
alzimmermsft deleted the AzCore_InvestigateEagerPagedIterable branch November 25, 2019 21:51
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.

3 participants