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

SSE behind the PWA Service Worker #73

Closed
haimkastner opened this issue Sep 3, 2019 · 2 comments
Closed

SSE behind the PWA Service Worker #73

haimkastner opened this issue Sep 3, 2019 · 2 comments
Assignees
Labels

Comments

@haimkastner
Copy link
Member

From some unknown reason for me, the SSE events stopped working after a few seconds, so the dashboard not updating with the server updates (in the incognito mode, its works properly)

@haimkastner haimkastner added the bug label Sep 3, 2019
@haimkastner haimkastner self-assigned this Sep 3, 2019
haimkastner added a commit that referenced this issue Sep 19, 2019
haimkastner added a commit that referenced this issue Sep 20, 2019
@haimkastner
Copy link
Member Author

There is no real fix for it right now.
The fix should be by using other techniques than SW.
https://stackoverflow.com/questions/35837967/increase-service-worker-life-time/48992309#48992309
https://stackoverflow.com/questions/29741922/prevent-service-worker-from-automatically-stopping

So, for now the default is to not install SW.

haimkastner added a commit that referenced this issue Sep 20, 2019
@haimkastner
Copy link
Member Author

By #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant