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

Automatically Notify User When Port Authority Servers Are Down #320

Open
epicstar opened this issue Aug 14, 2017 · 0 comments
Open

Automatically Notify User When Port Authority Servers Are Down #320

epicstar opened this issue Aug 14, 2017 · 0 comments
Assignees
Milestone

Comments

@epicstar
Copy link
Member

Currently, the app tells users that there are either:

  1. no buses available
  2. server is down (due to timeout)

Since Port Authority's TrueTime API isn't completely RESTful, I need a heuristic to tell users that their servers are down. I was thinking of:

If the server returns us no vehicles, check the time. If not between 2AM and 6AM, check if any of the 61's or 71's are running. If they aren't running, then the servers are most likely down.

@epicstar epicstar added this to the Release 9.0.0 milestone Aug 14, 2017
@epicstar epicstar self-assigned this Aug 14, 2017
@epicstar epicstar changed the title Notify User When Port Authority Servers Are Down Automatically Notify User When Port Authority Servers Are Down Aug 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant