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

Throttle consumer process to avoid replicating product prewarm #47

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

gaiterjones
Copy link
Collaborator

Issue #46

Implements a throttle effect for the consumer message queue to stop it from warming the same parent product over and over again if for example an action is performed on all variations which triggers a save event and prewarm.

A new redis cache entry is created for each product with a short TTL i.e. 60 seconds, if the cache entry exists the consumer skips prewarm,

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.

None yet

1 participant