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 timeout and expiration time in websocket_endpoint #479

Closed albertkun closed 8 months ago

albertkun commented 8 months ago

This pull request refactors the timeout and expiration time in the websocket_endpoint function. It reduces the timeout from 4.5 seconds to 2.5 seconds and updates the expiration time from 5 seconds to 3 seconds. This change improves the performance and responsiveness of the websocket functionality.