You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the app tells users that there are either:
no buses available
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.
The text was updated successfully, but these errors were encountered:
epicstar
changed the title
Notify User When Port Authority Servers Are Down
Automatically Notify User When Port Authority Servers Are Down
Aug 14, 2017
Currently, the app tells users that there are either:
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.
The text was updated successfully, but these errors were encountered: