Skip to content

Commit

Permalink
Merge branch 'feat/135772-pdf-page-bulk-export' into feat/135772-1591…
Browse files Browse the repository at this point in the history
…72-use-new-unified-packages-for-bulk-export
  • Loading branch information
arafubeatbox committed Dec 16, 2024
2 parents 8a2fdda + 5fd17c8 commit 49467ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/pdf-converter/src/service/pdf-convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class PdfConvertService implements OnInit {
private async readHtmlAndConvertToPdfUntilFinish(jobId: string): Promise<void> {
while (!this.isJobCompleted(jobId)) {
// eslint-disable-next-line no-await-in-loop
await new Promise(resolve => setTimeout(resolve, 60 * 1000));
await new Promise(resolve => setTimeout(resolve, 10 * 1000));

try {
if (new Date() > this.jobList[jobId].expirationDate) {
Expand Down

0 comments on commit 49467ae

Please sign in to comment.