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

Work offline #15

Open
andrew opened this issue Feb 2, 2021 · 1 comment
Open

Work offline #15

andrew opened this issue Feb 2, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@andrew
Copy link
Member

andrew commented Feb 2, 2021

Many bits of forest work file offline, but there are some parts that don't handle failed http connections very well (especially the setupWatcher function)

Forest may not be able to load data when it's offline, but it should keep running and serving what it has.

@andrew andrew added the enhancement New feature or request label Feb 2, 2021
andrew added a commit that referenced this issue Feb 2, 2021
@andrew
Copy link
Member Author

andrew commented Feb 2, 2021

@olizilla mentioned that electron has an online/offline detection feature with events when network connectivity changes, we could use this to restart certain features (watchers, redial peers) when coming back online, guide here: https://www.electronjs.org/docs/tutorial/online-offline-events

@andrew andrew added the help wanted Extra attention is needed label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant