-
Notifications
You must be signed in to change notification settings - Fork 196
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(cli): add a RPC batch option to cli #2322
Conversation
🦋 Changeset detectedLatest commit: c812110 The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was no corresponding throttling, but there was one that did batch processing instead, so this was substituted. In my environment, setting batchSize to 1000 allowed me to deploy without any errors. I have closed PRs I made in the past and made new ones |
Out of curiosity, does just using |
I don't think just |
Do you usually update the document side with the same PR? |
If you read further up, it'll still batch within the same "tick" (see also zero delay): This makes me suspect most of our operations would be batched because they're often sent simultaneously. |
Ideally, yep! |
The same effect as throttling could only be achieved if a sufficiently large batchSize and a sufficiently long wait were set For example, each It is thought that each step that is summarized in 1 Batch is a step that was executed within a certain period of time (within the time of waiting). My hypothesis is this.
I am not sure what should be taken as the argument of cli |
I'm guessing based on the actual results I've tried, so I could be wrong. |
Could you try with just |
Of course, I've tried My environment is this.
Here are the results of the search with each parameter fixed
Since batchSize and wait are defaults when |
asked if we could enable this by default but sounds like there's no good way to detect if batching is supported so keeping it as an option makes sense: https://discord.com/channels/1156791276818157609/1212120089219043369 |
This PR adds a RPC batch size option to the deploy command.
Resolve: #2236