django
django copied to clipboard
#35651 Fixed Reusing RedisCacheClient Connections for multiple requests.
Trac ticket number
ticket-35651
Branch description
Issue: Everytime the redis connection is accessed, a new connection is getting created. I have tried to make the pool common for redisclient, this way new connection is not created everytime.
Checklist
- [x] This PR targets the
mainbranch. - [x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
- [x] I have checked the "Has patch" ticket flag in the Trac system.
- [x] I have added or updated relevant tests.
- [ ] I have added or updated relevant docs, including release notes if applicable.
- [ ] I have attached screenshots in both light and dark modes for any UI changes.