Skip to content

Adjust the times that the we check for letters pending virus check#4852

Merged
klssmith merged 1 commit into
mainfrom
more-retries-for-letters-pending-virus-check
May 15, 2026
Merged

Adjust the times that the we check for letters pending virus check#4852
klssmith merged 1 commit into
mainfrom
more-retries-for-letters-pending-virus-check

Conversation

@klssmith
Copy link
Copy Markdown
Contributor

In rare cases (for a particular service where we know the letters don't get processed well) we see letters that still haven't gone through the sanitisation process with the number of retries we already do.

While we know the "real fix" is to upgrade PyMyPDF in template-preview, this will take some planning. For now, we increase the number of times we retry letters still pending virus check to try and ensure that every letter always ends up in the created state.

Trello card

In rare cases (for a particular service where we know the letters don't
get processed well) we see letters that still haven't gone through the
sanitisation process with the number of retries we already do.

While we know the "real fix" is to upgrade PyMyPDF in template-preview,
this will take some planning. For now, we increase the number of times
we retry letters still pending virus check to try and ensure that every
letters always end up in the created state.
@klssmith klssmith merged commit 94d119d into main May 15, 2026
10 checks passed
@klssmith klssmith deleted the more-retries-for-letters-pending-virus-check branch May 15, 2026 11:39
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.

2 participants