Skip to content

Commit

Permalink
chore: expand default segment limits to 1000 (#3710)
Browse files Browse the repository at this point in the history
This expands the segment limits to 1000, this should have no impact on
OSS since this feature isn't exposed. This is overridden to 250 in
hosted `pro` instances and 1000 in hosted `enterprise` customers. This
only affects self hosted enterprise instances
  • Loading branch information
sighphyre committed May 8, 2023
1 parent fab0f97 commit 3ed4aeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/__snapshots__/create-config.test.ts.snap
Expand Up @@ -134,7 +134,7 @@ exports[`should create default config 1`] = `
"preRouterHook": undefined,
"prometheusApi": undefined,
"secureHeaders": false,
"segmentValuesLimit": 100,
"segmentValuesLimit": 1000,
"server": {
"baseUriPath": "",
"cdnPrefix": undefined,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/segments.ts
@@ -1,2 +1,2 @@
export const DEFAULT_SEGMENT_VALUES_LIMIT = 100;
export const DEFAULT_SEGMENT_VALUES_LIMIT = 1000;
export const DEFAULT_STRATEGY_SEGMENTS_LIMIT = 5;

0 comments on commit 3ed4aeb

Please sign in to comment.