Skip to content

Commit

Permalink
Set timeout for downloading excel file to 45s
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaieb committed Aug 2, 2023
1 parent 5f576ce commit b1ea93f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/admin/components/ExcelExport.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ export default function ExcelExport({
linkType: "download"
});
await api.downloadFileHttpQuery(HTTP_QUERIES.excelExport, {
json: options
json: options,
timeout: 45000
});
}, "download-company-report")
}
Expand Down

0 comments on commit b1ea93f

Please sign in to comment.