Reduce departure polling interval from 5s to 30s #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: Departures were being fetched every 5 seconds, which is excessive for transit data that updates roughly every 30 seconds. This created unnecessary server load and API traffic.
Solution: Changed from 5000ms to 30000ms in constants.js and the fallback in index.html.
Files changed: