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 Redis connection handling in async functions #494

Closed albertkun closed 8 months ago

albertkun commented 8 months ago

This pull request refactors the Redis connection handling in the async functions to create a new Redis connection for each function call and close the connection after use. This improves the efficiency and reliability of the Redis operations.