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 delay in main.py to 5 seconds #485

Closed albertkun closed 8 months ago

albertkun commented 8 months ago

This pull request refactors the websocket delay in the main.py file to 5 seconds. It updates the reader function to include a 5-second delay using the asyncio.sleep function. This change improves the performance and responsiveness of the websocket functionality.