Skip to content

Limits being called "exceeded" when being hit exactly #481

@AKPWebDesign

Description

@AKPWebDesign

I'm using the PubSub library, which is failing with the following error:

Unhandled rejection Error: The number of elements 1000 exceeds the limit 1000
    at BundleExecutor.schedule ([project_directory]\node_modules\google-gax\lib\bundling.js:354:14)
    at [project_directory]\node_modules\google-gax\lib\bundling.js:474:20
    at Canceller.call ([project_directory]\node_modules\google-gax\lib\api_callable.js:110:19)
    at Bundleable.call ([project_directory]\node_modules\google-gax\lib\bundling.js:473:12)
    at [project_directory]\node_modules\google-gax\lib\api_callable.js:356:17
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

It seems to me that either the word "exceeds" should be changed, or the checks at bundling.js:344 and bundling.js:347 should be changed from >= to >.

Metadata

Metadata

Labels

🚨This issue needs some love.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions