Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor PDF generation with ReportSheetCache #190

Merged
merged 2 commits into from
Sep 25, 2024
Merged

Conversation

axunonb
Copy link
Member

@axunonb axunonb commented Sep 25, 2024

  • Pass a CancellationToken to CreateReportSheetPdfChromium.
  • Enhanced CreateReportSheetPdfChromium to handle process timeouts using Task.WhenAny and TimeSpan, and to throw OperationCanceledException if the process exceeds the timeout.
  • Minor comment adjustment and clarification of ProtocolTimeout in GetPathToCacheFile.

* Pass a `CancellationToken` to `CreateReportSheetPdfChromium`.
* Enhanced `CreateReportSheetPdfChromium` to handle process timeouts using `Task.WhenAny` and `TimeSpan`, and to throw `OperationCanceledException` if the process exceeds the timeout.
* Minor comment adjustment and clarification of `ProtocolTimeout` in `GetPathToCacheFile`.
@axunonb axunonb merged commit 65f19e7 into main Sep 25, 2024
3 checks passed
@axunonb axunonb deleted the pr/ReportSheetCache branch September 25, 2024 13:58
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant