LACMTA / metro-api-v2

Docs: https://lacmta.github.io/metro-api-v2/ Dev: https://dev-metro-api-v2.ofhq3vd1r7une.us-west-2.cs.amazonlightsail.com/docs
https://lacmta.github.io/metro-api-v2/
0 stars 3 forks source link

Refactor WebSocket endpoint for vehicle positions #480

Closed albertkun closed 8 months ago

albertkun commented 8 months ago

This pull request refactors the WebSocket endpoint for vehicle positions to improve performance and reliability. It includes changes to the websocket_vehicle_positions_endpoint function, removing the redundant websocket_endpoint function, and optimizing the code for better efficiency.