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

feat: queue products for metadata fetching on create #102

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

diogotcorreia
Copy link
Member

When a product is created, the backend attempted to get metadata/images for the product. However this process can be very slow (30+ seconds), and the requester to the API might have a smaller timeout, breaking the client. This makes it so the API returns immediately and attempts to fetch the metadata later in a cronjob.

When a product is created, the backend attempted to get metadata/images
for the product. However this process can be very slow (30+ seconds),
and the requester to the API might have a smaller timeout, breaking the
client. This makes it so the API returns immediately and attempts to
fetch the metadata later in a cronjob.
@diogotcorreia diogotcorreia added the enhancement New feature or request label Oct 27, 2024
@diogotcorreia diogotcorreia self-assigned this Oct 27, 2024
@diogotcorreia diogotcorreia merged commit c861e01 into master Oct 27, 2024
1 check passed
@diogotcorreia diogotcorreia deleted the implement-queue-for-product-metadata-fetching branch October 27, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant