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

Automatic Mode #50

Closed
Kubuxu opened this issue Jan 24, 2016 · 1 comment
Closed

Automatic Mode #50

Kubuxu opened this issue Jan 24, 2016 · 1 comment
Assignees
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Milestone

Comments

@Kubuxu
Copy link
Member

Kubuxu commented Jan 24, 2016

Disabling gateway redirection if IPFS is non functional would be nice feature.

Local gateway redirection could be disabled if:

  • ipfs.io responses to /version (we have connection with alternative) and
  • local gateway has no peers in swarm
@lidel lidel added kind/enhancement A net-new feature or improvement to an existing feature UX help wanted Seeking public contribution on this issue labels Jan 24, 2016
@lidel
Copy link
Member

lidel commented Jan 27, 2016

I think we could do it both ways and have an "Automatic Mode":
A checkbox on the Preferences screen would enable polling of /api/v0/swarm/peers periodically (perhaps interval could be customized too) and if list of peers is >0 then we automatically enable redirect to custom gateway. If response is negative, then redirect is disabled.

@lidel lidel added this to the v1.5.0 milestone Jan 27, 2016
@lidel lidel changed the title Detecting if gateway is working and functional Automatic Mode Jan 27, 2016
@lidel lidel removed the help wanted Seeking public contribution on this issue label Jan 27, 2016
@lidel lidel closed this as completed in fa010af Jan 30, 2016
@lidel lidel self-assigned this Feb 4, 2016
lidel added a commit that referenced this issue Jan 2, 2017
- WebExtension port of #50 from legacy add-on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants