You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However the python version creates a new connection to redis for every request (not needed), because redis_set_value creates a new connection each time.
Solution you'd like:
Use the same pattern for the python version: Connect to reddis, re-use the connection for each request.
The text was updated successfully, but these errors were encountered:
chrisjsimpson
changed the title
Connectino to redis database once, not on each request
Connect to redis database once, not on each request
Mar 7, 2022
Previoulsy the stripe connect account announcer would
stripe-connect-account-announcer/app.ts
Line 11 in 1f3da1d
stripe-connect-account-announcer/app.ts
Line 18 in 1f3da1d
However the python version creates a new connection to redis for every request (not needed), because redis_set_value creates a new connection each time.
Solution you'd like:
Use the same pattern for the python version: Connect to reddis, re-use the connection for each request.
The text was updated successfully, but these errors were encountered: