Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wait for service worker on start up #97

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

trungleduc
Copy link
Member

References

Code changes

User-facing changes

Backwards-incompatible changes

Copy link
Contributor

lite-badge 👈 Try it on ReadTheDocs

@trungleduc trungleduc added the enhancement New feature or request label Oct 31, 2023
@trungleduc trungleduc changed the title Update service worker on start up Wait for service worker on start up Oct 31, 2023
@trungleduc trungleduc added the documentation Improvements or additions to documentation label Oct 31, 2023
@trungleduc trungleduc marked this pull request as ready for review October 31, 2023 16:31
@trungleduc trungleduc merged commit dc6c1d0 into voila-dashboards:main Oct 31, 2023
7 checks passed
@jtpio
Copy link
Member

jtpio commented Nov 15, 2023

Curious what issue does this change fix? Was there some race conditions when a file would be read but the service worker would not be ready yet?

@trungleduc
Copy link
Member Author

trungleduc commented Nov 15, 2023

I heuristically did this in the process of debugging the service worker problem. Before this change, the worker failed a lot for me, with this chance it feels better, I'm not entirely sure it would fix anything, but there is no harm in this logic so I decided to keep it.

@trungleduc
Copy link
Member Author

Do you have issues with this?

@jtpio
Copy link
Member

jtpio commented Nov 15, 2023

Do you have issues with this?

No issues, just wanted to understand the motivation because the top comment of the PR was left empty.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants