Skip to content

Commit

Permalink
Ref LUCILE-DECROZANT-TRIQUENAUX-EIRL#185: Updated dompdf version to a…
Browse files Browse the repository at this point in the history
… secure one. Reduce time delay when checking if receipt generation is finished.
  • Loading branch information
Yann-BUTSCHER-EIRL committed Nov 22, 2022
1 parent a3beb5c commit 28cc51e
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 22 deletions.
2 changes: 1 addition & 1 deletion assets/javascript/Receipt/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $(document).ready(function () {
// For each file waiting its generation, run an ajax call each 60sec
// to check if the generation is complete
$('.waiting-generation').each(function () {
checkGenerationCompleteTimersIdentifier[$(this).data('file-id')] = setInterval(checkIfGenerationHasFinished, 30000, $(this));
checkGenerationCompleteTimersIdentifier[$(this).data('file-id')] = setInterval(checkIfGenerationHasFinished, 5000, $(this));
});
});

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"doctrine/doctrine-bundle": "^2.5",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.11",
"dompdf/dompdf": "^1.1.1",
"dompdf/dompdf": "^2.0.1",
"friendsofsymfony/rest-bundle": "^2.6",
"jms/serializer-bundle": "^3.5",
"phpdocumentor/reflection-docblock": "^5.3",
Expand Down
102 changes: 82 additions & 20 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 28cc51e

Please sign in to comment.