Skip to content

Commit b2c474f

Browse files
fix(ui) Reduce the download CSV count to reduce likelihood of timeouts (#14092)
1 parent f3811a1 commit b2c474f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

datahub-web-react/src/app/entity/shared/components/styled/search/DownloadAsCsvModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type Props = {
2626
setShowDownloadAsCsvModal: (showDownloadAsCsvModal: boolean) => any;
2727
};
2828

29-
const SEARCH_PAGE_SIZE_FOR_DOWNLOAD = 200;
29+
const SEARCH_PAGE_SIZE_FOR_DOWNLOAD = 100;
3030

3131
export default function DownloadAsCsvModal({
3232
downloadSearchResults,

datahub-web-react/src/app/entityV2/shared/components/styled/search/DownloadAsCsvModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type Props = {
4646
setShowDownloadAsCsvModal: (showDownloadAsCsvModal: boolean) => any;
4747
};
4848

49-
const SEARCH_PAGE_SIZE_FOR_DOWNLOAD = 200;
49+
const SEARCH_PAGE_SIZE_FOR_DOWNLOAD = 100;
5050
const DOWNLOAD_NOTIFICATION_KEY = 'download-csv-notification';
5151
const formatTime = (seconds: number) => {
5252
if (seconds < 60) return `${Math.round(seconds)}s`;

0 commit comments

Comments
 (0)