Skip to content

Commit 37068fd

Browse files
authored
feat(ourlogs): Lower page limit to 1k (#95358)
### Summary We bumped it to match auto-refresh, but we can bring auto-refresh down to have a lower implied rate limit (~1k/s -> 200/s logs before autorefresh turns off)
1 parent da215a6 commit 37068fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/explore/logs/constants.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export const LogAttributesHumanLabel: Partial<Record<OurLogFieldKey, string>> =
1414
};
1515

1616
export const MAX_LOG_INGEST_DELAY = 40_000;
17-
export const QUERY_PAGE_LIMIT = 5000; // If this does not equal the limit with auto-refresh, the query keys will diverge and they will have separate caches. We may want to make this change in the future.
18-
export const QUERY_PAGE_LIMIT_WITH_AUTO_REFRESH = 5000;
17+
export const QUERY_PAGE_LIMIT = 1000; // If this does not equal the limit with auto-refresh, the query keys will diverge and they will have separate caches. We may want to make this change in the future.
18+
export const QUERY_PAGE_LIMIT_WITH_AUTO_REFRESH = 1000;
1919

2020
/**
2121
* These are required fields are always added to the query when fetching the log table.

0 commit comments

Comments
 (0)