Closed joejoe04 closed 3 days ago
Pinging you here too @MathieuLamiot
Do you think it's worth checking or doing R&D?
Yes it is, however this is not something we should change in our plugin but in a dependency. We would need to share this report with PHP League container maintainers. I am adding this to the cooldown.
@MathieuLamiot looking at it, it seems related to tags only on league container.
We add tags into the plugin, but I don't recall we are actually using them.
Maybe a quick way to get fixed on this is to create a custom DefintionAggregate
(which we can easily pass to the container without changing the library original repo) without the tag logic and remove them from the plugin?
@CrochetFeve0251 You should directly discuss this topic with the plugin team and @Tabrisrp
We can remove tags usage from the plugin, since it's not compatible with the way we use ServiceProviders, as I discuss a couple of years ago with the dev of the container
We have received some suggestions about how the Definitions class can be altered to improve the plugin's performance and potentially decrease CPU usage. Specific details can be found here: https://secure.helpscout.net/conversation/2490895571/471075/#thread-7472405567
Here is the full content of the suggested changes:
Additional context https://secure.helpscout.net/conversation/2490895571/471075/ - Ticket https://wp-media.slack.com/archives/C43T1AYMQ/p1706280695093479 - Slack Discussion
Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming