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

[PUBLISH]Cache Formatter.format result when suitable. #2757

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

jerome-poisson
Copy link
Contributor

In Enqueue Service, Formatter.format result is now cached when subscriber (e.g. for publish_seq_num) or codes is not used in the formatted item.

SDESK-7449

In Enqueue Service, `Formatter.format` result is now cached when
`subscriber` (e.g. for `publish_seq_num`) or `codes` is not used in the
formatted item.

SDESK-7449
@MarkLark86 MarkLark86 added this to the 3.0 milestone Nov 29, 2024
Copy link
Contributor

@MarkLark86 MarkLark86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @jerome-poisson

@jerome-poisson
Copy link
Contributor Author

@MarkLark86 What about the failing tests? Are they expected to fail at this point? For a quick glance they don't look related to my changes.

@MarkLark86
Copy link
Contributor

@MarkLark86 What about the failing tests? Are they expected to fail at this point? For a quick glance they don't look related to my changes.

Pytest is passing, I got that working last week. I'll be working on getting other tests to pass later.
So for now, yes it's fine

@jerome-poisson jerome-poisson merged commit 36445b8 into superdesk:async Dec 16, 2024
11 of 17 checks passed
@jerome-poisson jerome-poisson deleted the SDESK-7449 branch December 16, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants