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

fix: fix edge case, updated messaging #270

Merged
merged 2 commits into from
Aug 7, 2020
Merged

Conversation

WillieRuemmele
Copy link
Member

No description provided.

@WillieRuemmele WillieRuemmele requested a review from amphro August 7, 2020 18:13
if (totalSize > records.length) {
process.emitWarning(
`The query result is missing ${totalSize -
records.length} records due to a 10,000 limit for performance reasons. Increase the number of records returned by setting the config value "maxQueryLimit" or the environment variable "SFDX_MAX_QUERY_LIMIT" to ${totalSize} or greater than 10,000.`
records.length} records due to a ${maxFetch} record limit for performance reasons. Increase the number of records returned by setting the config value "maxQueryLimit" or the environment variable "SFDX_MAX_QUERY_LIMIT" to ${totalSize} or greater than 10,000.`
Copy link
Collaborator

Choose a reason for hiding this comment

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

now that thin includes overridden values, let's remove "for performance reasons". Also change the 10k to maxFetch at the end of this message.

@WillieRuemmele WillieRuemmele merged commit 5e313a8 into develop Aug 7, 2020
@WillieRuemmele WillieRuemmele deleted the wr/maxQueryLimit branch August 7, 2020 19:07
@amphro
Copy link
Collaborator

amphro commented Aug 7, 2020

🎉 This PR is included in version 2.9.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@amphro amphro added the released label Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants