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

Use SK2 to get Storefront to prevent potential hang #4047

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

joshdholtz
Copy link
Member

@joshdholtz joshdholtz commented Jul 12, 2024

Motivation

In 5.0.0, there were some observed hangs/freezes that were due to attempting to get the Storefront.

The Storefront was being accessed via a SK1 API because it needed to get be a non-async call to set the value for the X-Storefront header. However, this seems to sometimes hang when using SK2 by default. This doesn't happen all the time and has been observed in the simulator.

This will change to use the SK2 API for Storefront if available.

Description

Asynchronously sets and caches the storefront in SystemInfo

@joshdholtz joshdholtz added the pr:fix A bug fix label Jul 12, 2024
@tristan-warner-smith tristan-warner-smith mentioned this pull request Jul 30, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:fix A bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants