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

feat(carto): Allow configuring MAX_GET_LENGTH #9159

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Sep 17, 2024

Currently MAX_GET_LENGTH, used internally in the CARTO module, is hard-coded to 8192. With this change the default limit is lowered, and is exposed for user configuration to allow future changes in userland.

Example:

const data = vectorTableSource({
  ...
  maxLengthURL: 5000
});

@coveralls
Copy link

coveralls commented Sep 17, 2024

Coverage Status

coverage: 91.759% (-0.02%) from 91.776%
when pulling 0e55cdb on donmccurdy/carto-config-request-url-limit
into 4dd8148 on master.

modules/carto/src/api/common.ts Outdated Show resolved Hide resolved
@donmccurdy donmccurdy force-pushed the donmccurdy/carto-config-request-url-limit branch from 3e634cc to 0e55cdb Compare September 20, 2024 15:06
@donmccurdy donmccurdy merged commit ab1d033 into master Sep 20, 2024
4 checks passed
@donmccurdy donmccurdy deleted the donmccurdy/carto-config-request-url-limit branch September 20, 2024 15:23
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