-
Notifications
You must be signed in to change notification settings - Fork 30
Fix Spacefinder timeout hit with interactives #11077
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
Conversation
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
Size Change: 0 B Total Size: 761 kB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
We might want to set the same timeout for the internals of whenIdle
. What about 500
in both cases? This can be done as a follow-up to keep changes atomic.
Yes we talked about that! Sorry for forgetting to make that change but I agree with you it is better to have it in another PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice investigation! 🕵️♂️
What does this change?
This PR fixes the Commercial logger message 'Spacefinder timeout hit' by replacing
visible
withidle
after confirming with @mxdvl from WebEx that it is safe to do so.We have a
5000
timeout for Spacefinder and as you can see from the 'Before' screenshot all different ad sizes that will be inserted by Spacefinder exceeds that time.The change has been tested locally and in CODE with these articles https://www.theguardian.com/artanddesign/2024/mar/19/damien-hirst-formaldehyde-animal-works-dated-to-1990s-were-made-in-2017 (Get in touch) and https://www.theguardian.com/society/2024/mar/20/young-people-becoming-less-happy-than-older-generations-research-shows (chart).
Why?
Spacefinder will be able to make decisions about where to place ads without the timeout.
Screenshots